Use the LDAP wrapper for checking resources, needs for proper testing

This commit is contained in:
Arthur Schiwon 2014-03-20 22:58:57 +01:00
parent bd881348e8
commit 561d699ca6

View file

@ -886,7 +886,7 @@ class Wizard extends LDAPUtility {
} }
$base = $this->configuration->ldapBase[0]; $base = $this->configuration->ldapBase[0];
$cr = $this->getConnection(); $cr = $this->getConnection();
if(!is_resource($cr)) { if(!$this->ldap->isResource($cr)) {
return false; return false;
} }
if(isset($filters[count($filters)-1])) { if(isset($filters[count($filters)-1])) {