$result=$query->execute(array(md5($path)))->fetchRow();
if(is_array($result)) {
if(isset(self::$savedData[$path])) {
- $result=array_merge($result,self::$savedData[$path]);
+ $result=array_merge($result, self::$savedData[$path]);
}
return $result;
}else{
if($root===false) {
$root=OC_Filesystem::getRoot();
}
- $parent=OC_FileCache::getId($path,$root);
+ $parent=OC_FileCache::getId($path, $root);
if($parent==-1) {
return array();
}
if(is_array($result)) {
return $result;
}else{
- OC_Log::write('files','getFolderContent(): file not found in cache ('.$path.')',OC_Log::DEBUG);
+ OC_Log::write('files', 'getFolderContent(): file not found in cache ('.$path.')', OC_Log::DEBUG);
return false;
}
}