summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Notice.php')
-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();