non existing files can never be updated
This commit is contained in:
parent
1cffeefa06
commit
95459d068e
|
@ -515,6 +515,9 @@ class OC_FileCache{
|
||||||
}
|
}
|
||||||
$view=new OC_FilesystemView($root);
|
$view=new OC_FilesystemView($root);
|
||||||
}
|
}
|
||||||
|
if(!$view->file_exists($path)){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$mtime=$view->filemtime($path);
|
$mtime=$view->filemtime($path);
|
||||||
$isDir=$view->is_dir($path);
|
$isDir=$view->is_dir($path);
|
||||||
$path=$root.$path;
|
$path=$root.$path;
|
||||||
|
|
Loading…
Reference in New Issue