]> source.dussan.org Git - nextcloud-server.git/commitdiff
Respect coding style
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 10 Sep 2012 09:32:49 +0000 (12:32 +0300)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 10 Sep 2012 09:32:49 +0000 (12:32 +0300)
lib/filecache/cached.php

index 261bd2f572bd6dae878c904736810dbd8e5a2751..4e8ff23793ecd160ad71c82376a2cbbfbb96a047 100644 (file)
@@ -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;
                }
        }