diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php index b197aaa25029c88c0d10882c94ba5fe0044dba25..a2fd48cdf06ce7d1c75e14125687e47f85b54a10 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);