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;
}
}
- if($fast){
- if(self::$user_cache_fast){
+ if($fast) {
+ if(self::$user_cache_fast) {
return self::$user_cache_fast;
}else{
return false;
* @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;