summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-15 03:32:15 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-15 03:32:15 -0400
commita6974a6f841e44b8d99ae314ef3736f81527c791 (patch)
treeb8cff33506c870e13d0b8078200824b29a3dc4d9
parent423227d2db6b1a0f8609b52fbc01b31cc29eba59 (diff)
fix cache deletion code
darcs-hash:20080915073215-84dde-34bdd1a40ce310bca5bbb6f11ed4df79c7915cb2.gz
-rw-r--r--classes/Notice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 181a3bd1b..183d6108e 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();