mark path as checked

remotes/origin/exclude_directories_III
Robin Appelman 10 years ago
parent c487f0f138
commit a2cfbd975a
  1. 1
      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;

Loading…
Cancel
Save