Commit 1062f4fe authored by Joas Schilling's avatar Joas Schilling
Browse files

Check file existance in MappedLocal in hasUpdated()

Only fixed in Local by eeee9eac
parent b886d3d6
...@@ -337,7 +337,11 @@ class MappedLocal extends \OC\Files\Storage\Common { ...@@ -337,7 +337,11 @@ class MappedLocal extends \OC\Files\Storage\Common {
* @return bool * @return bool
*/ */
public function hasUpdated($path, $time) { public function hasUpdated($path, $time) {
return $this->filemtime($path) > $time; if ($this->file_exists($path)) {
return $this->filemtime($path) > $time;
} else {
return true;
}
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment