summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-03-20 22:58:57 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-03-20 22:58:57 +0100
commit561d699ca67c0f5d3130b80e238c7ace8ba57e42 (patch)
tree15ab70201e0b56bca049ff7f5a33487f16dbe3aa /apps
parentbd881348e86670332abb0ccb8cd6a71543ee3fd1 (diff)
downloadnextcloud-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.php2
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])) {