Merge branch '2.5.x'
This commit is contained in:
commit
07cdbfbb79
|
@ -117,7 +117,7 @@ class Application_Model_Preference
|
||||||
}
|
}
|
||||||
|
|
||||||
$cache->store($key, $value, $isUserValue, $userId);
|
$cache->store($key, $value, $isUserValue, $userId);
|
||||||
Logging::info("SAVING {$key} {$userId} into cache. = {$value}");
|
//Logging::info("SAVING {$key} {$userId} into cache. = {$value}");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function getValue($key, $isUserValue = false)
|
private static function getValue($key, $isUserValue = false)
|
||||||
|
@ -134,7 +134,7 @@ class Application_Model_Preference
|
||||||
|
|
||||||
$res = $cache->fetch($key, $isUserValue, $userId);
|
$res = $cache->fetch($key, $isUserValue, $userId);
|
||||||
if ($res !== false) {
|
if ($res !== false) {
|
||||||
Logging::info("returning {$key} {$userId} from cache. = {$res}");
|
//Logging::info("returning {$key} {$userId} from cache. = {$res}");
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue