@ -305,7 +305,11 @@ if (\OC_Util::runningOnWindows()) {
* @return bool
*/
public function hasUpdated($path, $time) {
return $this->filemtime($path) > $time;
if ($this->file_exists($path)) {
} else {
return true;
}
/**