summaryrefslogtreecommitdiffstats
path: root/apps/files/command
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-02-05 12:54:31 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-02-05 12:54:31 +0100
commit9d9f360b7742a061586f18f7f9b2910b7ddd081d (patch)
tree09790e3b9b59e1f5b3ba60dcd2adb9c0979e680e /apps/files/command
parent3d88b10f201b7979f250b49b10360b3581030ec7 (diff)
downloadnextcloud-server-9d9f360b7742a061586f18f7f9b2910b7ddd081d.tar.gz
nextcloud-server-9d9f360b7742a061586f18f7f9b2910b7ddd081d.zip
Load authentication apps to get users from all backends - fixes #7019
Diffstat (limited to 'apps/files/command')
-rw-r--r--apps/files/command/scan.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/command/scan.php b/apps/files/command/scan.php
index 25ab70af362..f334f29a939 100644
--- a/apps/files/command/scan.php
+++ b/apps/files/command/scan.php
@@ -58,6 +58,7 @@ class Scan extends Command {
protected function execute(InputInterface $input, OutputInterface $output) {
if ($input->getOption('all')) {
+ \OC_App::loadApps('authentication');
$users = $this->userManager->search('');
} else {
$users = $input->getArgument('user_id');