summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_proxy.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-11 22:01:52 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-11 22:01:52 +0100
commit5731a1b01cc5ba1a4f1226336a56761d967c8e88 (patch)
treeafa8473bfe1e58e99f28c2896afde106fa25a3e6 /apps/user_ldap/user_proxy.php
parent037fcde1334d7b4d2bdeaaad0a71adc692b27ff8 (diff)
downloadnextcloud-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_proxy.php')
-rw-r--r--apps/user_ldap/user_proxy.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/user_ldap/user_proxy.php b/apps/user_ldap/user_proxy.php
index a94be3354fc..b150e2f32c3 100644
--- a/apps/user_ldap/user_proxy.php
+++ b/apps/user_ldap/user_proxy.php
@@ -183,4 +183,12 @@ class User_Proxy extends lib\Proxy implements \OCP\UserInterface {
public function deleteUser($uid) {
return false;
}
+
+ /**
+ * @return bool
+ */
+ public function hasUserListings() {
+ return true;
+ }
+
} \ No newline at end of file