Load authentication apps to get users from all backends - fixes #7019

This commit is contained in:
Thomas Müller 2014-02-05 12:54:31 +01:00
parent 3d88b10f20
commit 9d9f360b77
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ class Scan extends Command {
protected function execute(InputInterface $input, OutputInterface $output) { protected function execute(InputInterface $input, OutputInterface $output) {
if ($input->getOption('all')) { if ($input->getOption('all')) {
\OC_App::loadApps('authentication');
$users = $this->userManager->search(''); $users = $this->userManager->search('');
} else { } else {
$users = $input->getArgument('user_id'); $users = $input->getArgument('user_id');