CC-5555 : Implement simple caching for preferences

comment out logging to not flood logs.
This commit is contained in:
Naomi 2013-11-11 17:22:55 -05:00
parent b8a084998e
commit 757e35aaf9
1 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class Application_Model_Preference
}
$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)
@ -134,7 +134,7 @@ class Application_Model_Preference
$res = $cache->fetch($key, $isUserValue, $userId);
if ($res !== false) {
Logging::info("returning {$key} {$userId} from cache. = {$res}");
//Logging::info("returning {$key} {$userId} from cache. = {$res}");
return $res;
}