summaryrefslogtreecommitdiffstats
path: root/lib/files/cache/watcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files/cache/watcher.php')
-rw-r--r--lib/files/cache/watcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/cache/watcher.php b/lib/files/cache/watcher.php
index 31059ec7f56..8bfd4602f3a 100644
--- a/lib/files/cache/watcher.php
+++ b/lib/files/cache/watcher.php
@@ -43,7 +43,7 @@ class Watcher {
*/
public function checkUpdate($path) {
$cachedEntry = $this->cache->get($path);
- if ($this->storage->hasUpdated($path, $cachedEntry['mtime'])) {
+ if ($this->storage->hasUpdated($path, $cachedEntry['storage_mtime'])) {
if ($this->storage->is_dir($path)) {
$this->scanner->scan($path, Scanner::SCAN_SHALLOW);
} else {