Index: trunk/extensions/OpenStackManager/OpenStackNovaProject.php |
— | — | @@ -215,10 +215,8 @@ |
216 | 216 | $wgAuth->connect( $wgOpenStackManagerLDAPDomain ); |
217 | 217 | $wgAuth->bindAs( $wgOpenStackManagerLDAPUser, $wgOpenStackManagerLDAPUserPassword ); |
218 | 218 | |
219 | | - wfSuppressWarnings(); |
220 | 219 | $result = ldap_search( $wgAuth->ldapconn, $wgOpenStackManagerLDAPProjectBaseDN, 'projectmanager=*' ); |
221 | 220 | $entries = ldap_get_entries( $wgAuth->ldapconn, $result ); |
222 | | - wfRestoreWarnings(); |
223 | 221 | if ( $entries ) { |
224 | 222 | array_shift($entries); |
225 | 223 | foreach ( $entries as $entry ) { |