diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-11-27 14:02:50 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-11-27 14:02:50 +0100 |
commit | ae71f80f4a3262e3f12de4c71af1cc388904425d (patch) | |
tree | cded4fc50d739239a71da2c1e6b5cd1454103508 /apps/files/ajax | |
parent | 8fe878afe9af165b98470a75203df2f1b32cb68f (diff) | |
download | nextcloud-server-ae71f80f4a3262e3f12de4c71af1cc388904425d.tar.gz nextcloud-server-ae71f80f4a3262e3f12de4c71af1cc388904425d.zip |
Skip unavailable storages in scanner
Diffstat (limited to 'apps/files/ajax')
-rw-r--r-- | apps/files/ajax/scan.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/scan.php b/apps/files/ajax/scan.php index 759f2d15f84..7710a28a8ca 100644 --- a/apps/files/ajax/scan.php +++ b/apps/files/ajax/scan.php @@ -47,7 +47,7 @@ $listener = new ScanListener($eventSource); foreach ($users as $user) { $eventSource->send('user', $user); - $scanner = new \OC\Files\Utils\Scanner($user, \OC::$server->getDatabaseConnection()); + $scanner = new \OC\Files\Utils\Scanner($user, \OC::$server->getDatabaseConnection(), \OC::$server->getLogger()); $scanner->listen('\OC\Files\Utils\Scanner', 'scanFile', array($listener, 'file')); try { if ($force) { |