Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2012-09-05 16:40:21 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2012-09-05 16:40:21 +0400
commitd5fd5cd5845b29312d301f57324c406e812ed9c2 (patch)
tree806f96ee129080e0c01394b353f54dcf2fe884f3 /lib/cache.php
parent9eccc0121a5274627a3b32324b5a86c32e09aba8 (diff)
Respect coding style
Diffstat (limited to 'lib/cache.php')
-rw-r--r--lib/cache.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/cache.php b/lib/cache.php
index fed990b5b34..62003793d5f 100644
--- a/lib/cache.php
+++ b/lib/cache.php
@@ -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;