fix 'files' entries showing up in Files before the users files are scanned properly
This commit is contained in:
parent
f1e4c845ce
commit
44e36ecf49
|
@ -267,7 +267,7 @@ class OC_FileCache{
|
|||
}
|
||||
$path=$root.$path;
|
||||
$parent=self::getFileId($path);
|
||||
if($path==-1){
|
||||
if($parent==-1){
|
||||
return array();
|
||||
}
|
||||
$query=OC_DB::prepare('SELECT name,ctime,mtime,mimetype,size,encrypted,versioned,writable FROM *PREFIX*fscache WHERE parent=? AND (mimetype LIKE ? OR mimetype = ?)');
|
||||
|
|
Loading…
Reference in New Issue