mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
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);
|
||||
}
|
||||
if(!$view->file_exists($path)){
|
||||
return false;
|
||||
}
|
||||
$mtime=$view->filemtime($path);
|
||||
$isDir=$view->is_dir($path);
|
||||
$path=$root.$path;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user