]> source.dussan.org Git - nextcloud-server.git/commitdiff
Respect coding style
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 5 Sep 2012 12:40:21 +0000 (15:40 +0300)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 5 Sep 2012 12:40:21 +0000 (15:40 +0300)
lib/cache.php

index fed990b5b3451dd8975e0cbd1f371f9349156ad1..62003793d5f5c5bc5e76f229e5871c926c600071 100644 (file)
@@ -44,8 +44,8 @@ class OC_Cache {
                                self::$global_cache = new OC_Cache_Broker(self::$global_cache_fast, self::$global_cache);
                        }
                }
-               if($fast){
-                       if(self::$global_cache_fast){
+               if($fast) {
+                       if(self::$global_cache_fast) {
                                return self::$global_cache_fast;
                        }else{
                                return false;
@@ -74,8 +74,8 @@ class OC_Cache {
                        }
                }
 
-               if($fast){
-                       if(self::$user_cache_fast){
+               if($fast) {
+                       if(self::$user_cache_fast) {
                                return self::$user_cache_fast;
                        }else{
                                return false;
@@ -138,7 +138,7 @@ class OC_Cache {
         * @return true
         */
        static public function isFast() {
-               if(is_null(self::$isFast)){
+               if(is_null(self::$isFast)) {
                        self::$isFast=function_exists('xcache_set') || function_exists('apc_store');
                }
                return self::$isFast;