summaryrefslogtreecommitdiffstats
path: root/lib/private/user
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-01-08 13:26:48 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-01-08 13:26:48 +0100
commitd7cb5ab080e2b3abe804ffe974ebb65398914943 (patch)
treea046bad9052a367416431d8fbf582106f7697bdf /lib/private/user
parentcb6a3e2617c6549d4a305f3612bef8aa5840306e (diff)
downloadnextcloud-server-d7cb5ab080e2b3abe804ffe974ebb65398914943.tar.gz
nextcloud-server-d7cb5ab080e2b3abe804ffe974ebb65398914943.zip
add tests for user counting
Diffstat (limited to 'lib/private/user')
-rw-r--r--lib/private/user/dummy.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/user/dummy.php b/lib/private/user/dummy.php
index 52be7edfa75..fc15a630cf3 100644
--- a/lib/private/user/dummy.php
+++ b/lib/private/user/dummy.php
@@ -123,4 +123,13 @@ class OC_User_Dummy extends OC_User_Backend {
public function hasUserListings() {
return true;
}
+
+ /**
+ * counts the users in the database
+ *
+ * @return int | bool
+ */
+ public function countUsers() {
+ return 0;
+ }
}