From 292c0e53f8acf1f235ae3a1e7c7674381eba8cb0 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 16 Jun 2023 17:56:34 +0200 Subject: add summary of detected changes to files:scan output Signed-off-by: Robin Appelman --- lib/private/Files/Cache/Scanner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Files/Cache/Scanner.php') 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); -- cgit v1.2.3