diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-03-20 22:58:57 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-03-20 22:58:57 +0100 |
commit | 561d699ca67c0f5d3130b80e238c7ace8ba57e42 (patch) | |
tree | 15ab70201e0b56bca049ff7f5a33487f16dbe3aa /apps | |
parent | bd881348e86670332abb0ccb8cd6a71543ee3fd1 (diff) | |
download | nextcloud-server-561d699ca67c0f5d3130b80e238c7ace8ba57e42.tar.gz nextcloud-server-561d699ca67c0f5d3130b80e238c7ace8ba57e42.zip |
Use the LDAP wrapper for checking resources, needs for proper testing
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/wizard.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php index 4f7eee5a989..f97ab51f0f0 100644 --- a/apps/user_ldap/lib/wizard.php +++ b/apps/user_ldap/lib/wizard.php @@ -886,7 +886,7 @@ class Wizard extends LDAPUtility { } $base = $this->configuration->ldapBase[0]; $cr = $this->getConnection(); - if(!is_resource($cr)) { + if(!$this->ldap->isResource($cr)) { return false; } if(isset($filters[count($filters)-1])) { |