aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/Scanner.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-06-16 17:56:34 +0200
committerRobin Appelman <robin@icewind.nl>2023-06-16 17:56:34 +0200
commit292c0e53f8acf1f235ae3a1e7c7674381eba8cb0 (patch)
tree29b9573b8efe3a2d84fe20be2361dd86509a5a52 /lib/private/Files/Cache/Scanner.php
parentb288d27c51187535bf11b7edc380f206f3d8392c (diff)
downloadnextcloud-server-292c0e53f8acf1f235ae3a1e7c7674381eba8cb0.tar.gz
nextcloud-server-292c0e53f8acf1f235ae3a1e7c7674381eba8cb0.zip
add summary of detected changes to files:scan output
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Cache/Scanner.php')
-rw-r--r--lib/private/Files/Cache/Scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Scanner.php b/lib/private/Files/Cache/Scanner.php
index edf9b5697e7..e7f538df7c2 100644
--- a/lib/private/Files/Cache/Scanner.php
+++ b/lib/private/Files/Cache/Scanner.php
@@ -291,7 +291,7 @@ class Scanner extends BasicEmitter implements IScanner {
$data['permissions'] = $data['scan_permissions'];
}
\OC_Hook::emit('Scanner', 'addToCache', ['file' => $path, 'data' => $data]);
- $this->emit('\OC\Files\Cache\Scanner', 'addToCache', [$path, $this->storageId, $data]);
+ $this->emit('\OC\Files\Cache\Scanner', 'addToCache', [$path, $this->storageId, $data, $fileId]);
if ($this->cacheActive) {
if ($fileId !== -1) {
$this->cache->update($fileId, $data);