diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-11-04 16:34:39 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-11-04 16:34:39 +0100 |
commit | a2cfbd975ae0695e391c45969fd0e418b9580e72 (patch) | |
tree | 2821f7681fefc8bbb3ff0664f80ebf6006719050 /lib/private/files/cache | |
parent | c487f0f13823322d7290d90e37e20bf0c317efb5 (diff) | |
download | nextcloud-server-a2cfbd975ae0695e391c45969fd0e418b9580e72.tar.gz nextcloud-server-a2cfbd975ae0695e391c45969fd0e418b9580e72.zip |
mark path as checked
Diffstat (limited to 'lib/private/files/cache')
-rw-r--r-- | lib/private/files/cache/watcher.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/cache/watcher.php b/lib/private/files/cache/watcher.php index b43091985cc..e660e56bfee 100644 --- a/lib/private/files/cache/watcher.php +++ b/lib/private/files/cache/watcher.php @@ -119,6 +119,7 @@ class Watcher { */ public function needsUpdate($path, $cachedData) { if ($this->watchPolicy === self::CHECK_ALWAYS or ($this->watchPolicy === self::CHECK_ONCE and array_search($path, $this->checkedPaths) === false)) { + $this->checkedPaths[] = $path; return $this->storage->hasUpdated($path, $cachedData['storage_mtime']); } return false; |