diff options
author | Evan Prodromou <evan@status.net> | 2010-12-06 17:28:22 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-12-06 17:28:22 -0500 |
commit | 1fb506c27d8d3cd076d0cab8d6b9493cc131e730 (patch) | |
tree | cdb34cda0bc3f291e557b3fc0970335482e93785 /lib/activity.php | |
parent | 25f644f4b99bc9fed024821c94885100c105d6a2 (diff) |
use codeKey() in activity caching
Diffstat (limited to 'lib/activity.php')
-rw-r--r-- | lib/activity.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/activity.php b/lib/activity.php index 712800817..d3eeadcee 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -331,7 +331,7 @@ class Activity { $c = Cache::instance(); - $str = $c->get('activity:as-string:'.Cache::keyize($this->id)); + $str = $c->get(Cache::codeKey('activity:as-string:'.$this->id)); if (!empty($str)) { return $str; @@ -559,7 +559,7 @@ class Activity $str = $xs->getString(); - $c->set('activity:as-string:'.Cache::keyize($this->id), $str); + $c->set(Cache::codeKey('activity:as-string:'.$this->id), $str); return $str; } |