From 24e81ce4d58f08e317846d10e1ca3aecb747775d Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 18 Jul 2011 18:50:21 +0200 Subject: [PATCH] fix some ldap errors --- apps/user_ldap/user_ldap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php index b197aaa250..a2fd48cdf0 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);