diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-11 22:01:52 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-11 22:01:52 +0100 |
commit | 5731a1b01cc5ba1a4f1226336a56761d967c8e88 (patch) | |
tree | afa8473bfe1e58e99f28c2896afde106fa25a3e6 /apps/user_ldap/user_ldap.php | |
parent | 037fcde1334d7b4d2bdeaaad0a71adc692b27ff8 (diff) | |
download | nextcloud-server-5731a1b01cc5ba1a4f1226336a56761d967c8e88.tar.gz nextcloud-server-5731a1b01cc5ba1a4f1226336a56761d967c8e88.zip |
introduce new virtual method hasUserListings() to determine if a user backend can list it's users.
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r-- | apps/user_ldap/user_ldap.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php index 0962756228c..7778c37c794 100644 --- a/apps/user_ldap/user_ldap.php +++ b/apps/user_ldap/user_ldap.php @@ -261,4 +261,10 @@ class USER_LDAP extends lib\Access implements \OCP\UserInterface { return (bool)((OC_USER_BACKEND_CHECK_PASSWORD | OC_USER_BACKEND_GET_HOME) & $actions); } + /** + * @return bool + */ + public function hasUserListings() { + return true; + } }
\ No newline at end of file |