Skip to content
Snippets Groups Projects
Commit c6cd1b77 authored by Thomas Müller's avatar Thomas Müller
Browse files

Respect coding style

parent 5721bd27
Branches
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ class OC_FileCache_Cached{
$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{
......@@ -54,7 +54,7 @@ class OC_FileCache_Cached{
if($root===false) {
$root=OC_Filesystem::getRoot();
}
$parent=OC_FileCache::getId($path,$root);
$parent=OC_FileCache::getId($path, $root);
if($parent==-1) {
return array();
}
......@@ -63,7 +63,7 @@ class OC_FileCache_Cached{
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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment