summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-06-23 13:51:23 -0700
committerZach Copley <zach@controlyourself.ca>2009-06-23 13:51:23 -0700
commit31325f0995bb61413b07f166d253b13fb27d085d (patch)
tree1ae7cdadfcdbf5b76e08db0a5a8df3cd4cb4e25f /classes/Notice.php
parentd9bebfd6512353690be8bf8cc596a0656ef48ae9 (diff)
Stop Twitter gateway notices from leaking via user faves pages
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index b6bbf66ca..6f9b73be4 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -471,8 +471,10 @@ class Notice extends Memcached_DataObject
if ($fave->find()) {
while ($fave->fetch()) {
$cache->delete(common_cache_key('fave:ids_by_user:'.$fave->user_id));
+ $cache->delete(common_cache_key('fave:by_user_own:'.$fave->user_id));
if ($blowLast) {
$cache->delete(common_cache_key('fave:ids_by_user:'.$fave->user_id.';last'));
+ $cache->delete(common_cache_key('fave:by_user_own:'.$fave->user_id.';last'));
}
}
}