diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-08 14:44:38 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-08 14:44:38 +0100 |
commit | 9b62439b060b0f229f1c042a22e5550cd75f8f14 (patch) | |
tree | 42b58bf362d2776a8925faa55a44de56f50f99b0 | |
parent | 74c90c7fecbb4fb1b006997268b07800e9b8ba13 (diff) | |
parent | dffc6cdcd7111b701f303a4c47361607ebadb3af (diff) | |
download | nextcloud-server-9b62439b060b0f229f1c042a22e5550cd75f8f14.tar.gz nextcloud-server-9b62439b060b0f229f1c042a22e5550cd75f8f14.zip |
Merge pull request #21464 from owncloud/stable8-fix-scanner-regression
[stable8] Fix regression in ajax/scan.php
-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 455fb566ba6..48b8215267d 100644 --- a/apps/files/ajax/scan.php +++ b/apps/files/ajax/scan.php @@ -21,7 +21,7 @@ $listener = new ScanListener($eventSource); foreach ($users as $user) { $eventSource->send('user', $user); $scanner = new \OC\Files\Utils\Scanner($user, \OC::$server->getDatabaseConnection()); - $scanner->listen('\OC\Files\Utils\Scanner', 'scanFolder', array($listener, 'folder')); + $scanner->listen('\OC\Files\Utils\Scanner', 'scanFile', array($listener, 'file')); if ($force) { $scanner->scan($dir); } else { |