summaryrefslogtreecommitdiff
path: root/classes/Inbox.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-25 18:13:09 -0500
committerEvan Prodromou <evan@status.net>2010-01-25 18:13:09 -0500
commit663e4e02a1b3b1c104c2c3db19e524a486c3d981 (patch)
tree048e2f67c10f74e3b510646f7b955d45baa49253 /classes/Inbox.php
parent1ab24832960eef698731cf0d3e72fccfa336392d (diff)
parente26a843caf9f6bb0d11a7128884db235ededcce0 (diff)
Merge branch 'master' into testing
Conflicts: lib/queuemanager.php
Diffstat (limited to 'classes/Inbox.php')
-rw-r--r--classes/Inbox.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/Inbox.php b/classes/Inbox.php
index 086dba1c9..26b27d2b5 100644
--- a/classes/Inbox.php
+++ b/classes/Inbox.php
@@ -120,11 +120,7 @@ class Inbox extends Memcached_DataObject
$notice_id, $user_id));
if ($result) {
- $c = self::memcache();
-
- if (!empty($c)) {
- $c->delete(self::cacheKey('inbox', 'user_id', $user_id));
- }
+ self::blow('inbox:user_id:%d', $user_id);
}
return $result;