]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix some ldap errors
authorRobin Appelman <icewind1991@gmail.com>
Mon, 18 Jul 2011 16:50:21 +0000 (18:50 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Mon, 18 Jul 2011 16:50:21 +0000 (18:50 +0200)
apps/user_ldap/user_ldap.php

index b197aaa25029c88c0d10882c94ba5fe0044dba25..a2fd48cdf06ce7d1c75e14125687e47f85b54a10 100644 (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);