From: Evan Prodromou Date: Mon, 15 Sep 2008 07:32:15 +0000 (-0400) Subject: fix cache deletion code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a6974a6f841e44b8d99ae314ef3736f81527c791;p=quix0rs-gnu-social.git fix cache deletion code darcs-hash:20080915073215-84dde-34bdd1a40ce310bca5bbb6f11ed4df79c7915cb2.gz --- diff --git a/classes/Notice.php b/classes/Notice.php index 181a3bd1b3..183d6108e2 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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();