From 9d9f360b7742a061586f18f7f9b2910b7ddd081d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Wed, 5 Feb 2014 12:54:31 +0100
Subject: [PATCH] Load authentication apps to get users from all backends -
 fixes #7019

---
 apps/files/command/scan.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/files/command/scan.php b/apps/files/command/scan.php
index 25ab70af36..f334f29a93 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');
-- 
GitLab