summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-05-01 12:01:28 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-05-01 12:01:28 -0700
commit5314d9b2cfaef3f2fd0ead262e18d1776fd99c8d (patch)
tree3f9fb29c699d992ea28a6558141203d04f6ce771 /classes/Notice.php
parent021b520a11d3449a1476182e1ad117582999d364 (diff)
make faves work with ids
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 c036e6e9e..771a4e715 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -412,9 +412,9 @@ class Notice extends Memcached_DataObject
$fave->notice_id = $this->id;
if ($fave->find()) {
while ($fave->fetch()) {
- $cache->delete(common_cache_key('user:faves:'.$fave->user_id));
+ $cache->delete(common_cache_key('fave:ids_by_user:'.$fave->user_id));
if ($blowLast) {
- $cache->delete(common_cache_key('user:faves:'.$fave->user_id.';last'));
+ $cache->delete(common_cache_key('fave:ids_by_user:'.$fave->user_id.';last'));
}
}
}