diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-02 15:17:00 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-02 15:24:08 +0200 |
commit | e002ff60658f675dba038aca8f682080b71d6ece (patch) | |
tree | 6093a99495cfc614bb7a4105bef9183a98637c2b /lib/private/files/cache | |
parent | 0158788a2a07a9eef9689c9d252659eedf852083 (diff) | |
download | nextcloud-server-e002ff60658f675dba038aca8f682080b71d6ece.tar.gz nextcloud-server-e002ff60658f675dba038aca8f682080b71d6ece.zip |
propagate changes in the scanner
Diffstat (limited to 'lib/private/files/cache')
-rw-r--r-- | lib/private/files/cache/scanner.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php index 9beb582a0e8..bc2931c68d0 100644 --- a/lib/private/files/cache/scanner.php +++ b/lib/private/files/cache/scanner.php @@ -189,6 +189,7 @@ class Scanner extends BasicEmitter { */ protected function updateCache($path, $data) { \OC_Hook::emit('Scanner', 'addToCache', array('file' => $path, 'data' => $data)); + $this->emit('\OC\Files\Cache\Scanner', 'updateCache', array($path, $this->storageId, $data)); if ($this->cacheActive) { $this->cache->put($path, $data); } |