From a2cfbd975ae0695e391c45969fd0e418b9580e72 Mon Sep 17 00:00:00 2001 From: Robin Appelman <icewind@owncloud.com> Date: Wed, 4 Nov 2015 16:34:39 +0100 Subject: [PATCH] mark path as checked --- lib/private/files/cache/watcher.php | 1 + 1 file changed, 1 insertion(+) 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; -- GitLab