Check file existance in MappedLocal in hasUpdated()
Only fixed in Local by eeee9eacea
This commit is contained in:
parent
b886d3d645
commit
1062f4fe44
|
@ -337,7 +337,11 @@ class MappedLocal extends \OC\Files\Storage\Common {
|
|||
* @return bool
|
||||
*/
|
||||
public function hasUpdated($path, $time) {
|
||||
return $this->filemtime($path) > $time;
|
||||
if ($this->file_exists($path)) {
|
||||
return $this->filemtime($path) > $time;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue