fix some ldap errors

This commit is contained in:
Robin Appelman 2011-07-18 18:50:21 +02:00
parent 4c0c5b64c2
commit 24e81ce4d5
1 changed files with 2 additions and 2 deletions

View File

@ -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);