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