summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 46e1dca35..d6710c3e2 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -1236,7 +1236,7 @@ class Notice extends Memcached_DataObject
function asActivity($cur = null, $source = false)
{
- $act = self::cacheGet('notice:as-activity:'.$this->id);
+ $act = self::cacheGet(Cache::codeKey('notice:as-activity:'.$this->id));
if (!empty($act)) {
return $act;
@@ -1406,7 +1406,7 @@ class Notice extends Memcached_DataObject
Event::handle('EndNoticeAsActivity', array($this, &$act));
}
- self::cacheSet('notice:as-activity:'.$this->id, $act);
+ self::cacheSet(Cache::codeKey('notice:as-activity:'.$this->id), $act);
return $act;
}