From 757e35aaf942989618376869340a44f4780f21fa Mon Sep 17 00:00:00 2001 From: Naomi Date: Mon, 11 Nov 2013 17:22:55 -0500 Subject: [PATCH] CC-5555 : Implement simple caching for preferences comment out logging to not flood logs. --- airtime_mvc/application/models/Preference.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airtime_mvc/application/models/Preference.php b/airtime_mvc/application/models/Preference.php index 660eaf825..33269acba 100644 --- a/airtime_mvc/application/models/Preference.php +++ b/airtime_mvc/application/models/Preference.php @@ -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; }