diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-26 01:59:36 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-26 01:59:36 +0100 |
commit | 94aca655ef4128859285b86a78f85537aa9848e8 (patch) | |
tree | 15f353bc93dc5900868624d3d884ba8b11bba82c /classes/Inbox.php | |
parent | 1cc86baba6ae5062d87c14d6108a2a494b6c53ce (diff) | |
parent | b6aa1511eb868d740f8893160ce8bef387725867 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'classes/Inbox.php')
-rw-r--r-- | classes/Inbox.php | 6 |
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; |