forked from GNUsocial/gnu-social
fix cache deletion code
darcs-hash:20080915073215-84dde-34bdd1a40ce310bca5bbb6f11ed4df79c7915cb2.gz
This commit is contained in:
parent
423227d2db
commit
a6974a6f84
@ -125,7 +125,7 @@ class Notice extends DB_DataObject
|
||||
'WHERE subscription.subscribed = ' . $notice->profile_id);
|
||||
|
||||
while ($user->fetch()) {
|
||||
$cache->delete(common_cache_key('user:notices_with_friends:' . $this->id));
|
||||
$cache->delete(common_cache_key('user:notices_with_friends:' . $user->id));
|
||||
}
|
||||
|
||||
$user->free();
|
||||
|
Loading…
Reference in New Issue
Block a user