Only show twitter msgs in your own inbox

This commit is contained in:
Evan Prodromou
2009-06-18 11:45:48 -07:00
parent b761cfd409
commit 3f54840b51
6 changed files with 81 additions and 37 deletions

View File

@@ -406,8 +406,10 @@ class Notice extends Memcached_DataObject
while ($user->fetch()) {
$cache->delete(common_cache_key('notice_inbox:by_user:'.$user->id));
$cache->delete(common_cache_key('notice_inbox:by_user_own:'.$user->id));
if ($blowLast) {
$cache->delete(common_cache_key('notice_inbox:by_user:'.$user->id.';last'));
$cache->delete(common_cache_key('notice_inbox:by_user_own:'.$user->id.';last'));
}
}
$user->free();