From a6974a6f841e44b8d99ae314ef3736f81527c791 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 15 Sep 2008 03:32:15 -0400 Subject: [PATCH] fix cache deletion code darcs-hash:20080915073215-84dde-34bdd1a40ce310bca5bbb6f11ed4df79c7915cb2.gz --- classes/Notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5