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

View file

@ -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');