summaryrefslogtreecommitdiffstats
path: root/core/command/user
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-02-06 11:34:27 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-02-06 11:34:27 +0100
commit79fc4f312604feb20f96378d052703ec4768ecad (patch)
tree437ddedcff43e5656e9899bc66aa9e6d1e49c293 /core/command/user
parent0db5fead8e9d4cfe410841ab4c4562987f2844a6 (diff)
downloadnextcloud-server-79fc4f312604feb20f96378d052703ec4768ecad.tar.gz
nextcloud-server-79fc4f312604feb20f96378d052703ec4768ecad.zip
Within OC:init() the minimum set of apps is loaded - which is filesystem, authentication and logging
Diffstat (limited to 'core/command/user')
-rw-r--r--core/command/user/report.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/command/user/report.php b/core/command/user/report.php
index f95ba251bcc..d6b7abacabc 100644
--- a/core/command/user/report.php
+++ b/core/command/user/report.php
@@ -48,7 +48,6 @@ class Report extends Command {
}
private function countUsers() {
- \OC_App::loadApps(array('authentication'));
$userManager = \OC::$server->getUserManager();
return $userManager->countUsers();
}
@@ -58,4 +57,4 @@ class Report extends Command {
$userDirectories = $dataview->getDirectoryContent('/', 'httpd/unix-directory');
return count($userDirectories);
}
-} \ No newline at end of file
+}