aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-05-04 13:48:55 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-05-04 13:48:55 +0200
commit231eec7325226ef8c1cd2ff87dff168618093dd3 (patch)
tree88a9ebf743e7374e51089d77e3242293960bc304 /apps/user_ldap/user_ldap.php
parent6c670cb82d36bfeed56a00bf44d76ba17cbd16ac (diff)
downloadnextcloud-server-231eec7325226ef8c1cd2ff87dff168618093dd3.tar.gz
nextcloud-server-231eec7325226ef8c1cd2ff87dff168618093dd3.zip
LDAP: also those functions were not meant to be static
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rwxr-xr-xapps/user_ldap/user_ldap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 4c2f7ac4881..85aab2601c6 100755
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -109,7 +109,7 @@ class OC_USER_LDAP extends OC_User_Backend {
*
* Get a list of all users.
*/
- public static function getUsers(){
+ public function getUsers(){
$ldap_users = OC_LDAP::fetchListOfUsers($this->ldapUserFilter, array(OC_LDAP::conf('ldapGroupDisplayName'), 'dn'));
$users = OC_LDAP::ownCloudUserNames($ldap_users);
return $users;
@@ -120,7 +120,7 @@ class OC_USER_LDAP extends OC_User_Backend {
* @param string $uid the username
* @return boolean
*/
- public static function userExists($uid){
+ public function userExists($uid){
return in_array($uid, self::getUsers());
}