[Pkg-owncloud-commits] [owncloud] 95/134: authentication apps need to be loaded in any case - fixes #7216

David Prévot taffit at moszumanska.debian.org
Fri Apr 18 21:44:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 984586c20a016034444871d31ecb609cbb49202e
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Thu Apr 3 20:47:38 2014 +0200

    authentication apps need to be loaded in any case - fixes #7216
---
 apps/files/command/scan.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files/command/scan.php b/apps/files/command/scan.php
index f334f29..5fc6325 100644
--- a/apps/files/command/scan.php
+++ b/apps/files/command/scan.php
@@ -57,8 +57,8 @@ class Scan extends Command {
 	}
 
 	protected function execute(InputInterface $input, OutputInterface $output) {
+		\OC_App::loadApps('authentication');
 		if ($input->getOption('all')) {
-			\OC_App::loadApps('authentication');
 			$users = $this->userManager->search('');
 		} else {
 			$users = $input->getArgument('user_id');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list