summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-03-14 15:51:08 +0100
committerVincent Petry <pvince81@owncloud.com>2016-03-14 15:51:08 +0100
commit9978ee328c2c19142e8be6e7ef6798fc40d90d49 (patch)
treeaf61a00f479e77015c45b93d451e38abd8fa52ce
parentd363a597df55c316568ac6d9046afa572ab6e79d (diff)
parent62b95c33bac937e2d3391dfe40ed009aeffca0a4 (diff)
downloadnextcloud-server-9978ee328c2c19142e8be6e7ef6798fc40d90d49.tar.gz
nextcloud-server-9978ee328c2c19142e8be6e7ef6798fc40d90d49.zip
Merge pull request #23149 from owncloud/stable8.1-fix-broken-interface
[stable8.1] Fix broken scanner call in ajax/scan.php
-rw-r--r--apps/files/ajax/scan.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/scan.php b/apps/files/ajax/scan.php
index 34b0e4c4cd3..a5b2590c355 100644
--- a/apps/files/ajax/scan.php
+++ b/apps/files/ajax/scan.php
@@ -46,7 +46,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', function () use ($listener) {
$listener->file();
});