]> source.dussan.org Git - nextcloud-server.git/commitdiff
load authentication apps to get users from other backends like LDAP - THX @blizzz
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 5 Aug 2013 10:37:26 +0000 (12:37 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 5 Aug 2013 10:37:26 +0000 (12:37 +0200)
apps/files/console/scan.php

index 70183fc888af90e21b912de1b85927afe866f031..e0f82c707bfdbc8d30e4bb44b0964e042d5c7ba1 100644 (file)
@@ -21,6 +21,7 @@ function scanFiles($user) {
 }
 
 if ($argv[1] === '--all') {
+       \OC_App::loadApps('authentication');
        $users = OC_User::getUsers();
 } else {
        $users = array($argv[1]);