We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ec0ca6 + 45cd762 commit 774b85aCopy full SHA for 774b85a
lib/private/Files/Cache/Watcher.php
@@ -118,7 +118,7 @@ public function update($path, $cachedData) {
118
public function needsUpdate($path, $cachedData) {
119
if ($this->watchPolicy === self::CHECK_ALWAYS or ($this->watchPolicy === self::CHECK_ONCE and !in_array($path, $this->checkedPaths))) {
120
$this->checkedPaths[] = $path;
121
- return $this->storage->hasUpdated($path, $cachedData['storage_mtime']);
+ return $cachedData['storage_mtime'] === null || $this->storage->hasUpdated($path, $cachedData['storage_mtime']);
122
}
123
return false;
124
0 commit comments