fix cache deletion code

darcs-hash:20080915073215-84dde-34bdd1a40ce310bca5bbb6f11ed4df79c7915cb2.gz
This commit is contained in:
Evan Prodromou 2008-09-15 03:32:15 -04:00
parent 423227d2db
commit a6974a6f84
1 changed files with 1 additions and 1 deletions

View File

@ -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();