From: Robin Appelman Date: Mon, 18 Jul 2011 16:50:21 +0000 (+0200) Subject: fix some ldap errors X-Git-Tag: v3.0~267^2~405 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=24e81ce4d58f08e317846d10e1ca3aecb747775d;p=nextcloud-server.git fix some ldap errors --- diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php index b197aaa2502..a2fd48cdf06 100644 --- a/apps/user_ldap/user_ldap.php +++ b/apps/user_ldap/user_ldap.php @@ -97,7 +97,7 @@ class OC_USER_LDAP extends OC_USER_BACKEND { return $entries[0]["dn"]; } public function checkPassword( $uid, $password ) { - if(!self::$configured){ + if(!$this->configured){ return false; } $dn = $this->getDn( $uid ); @@ -108,7 +108,7 @@ class OC_USER_LDAP extends OC_USER_BACKEND { } public function userExists( $uid ) { - if(!self::$configured){ + if(!$this->configured){ return false; } $dn = $this->getDn($uid);