summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/User.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/User.php b/classes/User.php
index 55c0f4576..75dd73315 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -386,7 +386,10 @@ class User extends Memcached_DataObject
function blowFavesCache() {
$cache = common_memcache();
if ($cache) {
+ # Faves don't happen chronologically, so we need to blow
+ # ;last cache, too
$cache->delete(common_cache_key('user:faves:'.$this->id));
+ $cache->delete(common_cache_key('user:faves:'.$this->id).';last');
}
}
}