fix 'files' entries showing up in Files before the users files are scanned properly

remotes/origin/stable4
Robin Appelman 13 years ago
parent f1e4c845ce
commit 44e36ecf49
  1. 2
      lib/filecache.php

@ -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…
Cancel
Save