summaryrefslogtreecommitdiff
path: root/actions/deletenotice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-20 13:53:39 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-20 13:53:39 -0400
commita64330b77c6f4607978e239f536f7d2a58185f3b (patch)
tree1d4430567bd015b180345e4c2af47ca4c1e2734a /actions/deletenotice.php
parentd53a4123f369087afd901073a4c865e9703ff698 (diff)
blow subscriptions cache when the user deletes a notice
darcs-hash:20080920175339-84dde-e46d0e7b86e0752e8331cdfba26257b3ff9e601c.gz
Diffstat (limited to 'actions/deletenotice.php')
-rw-r--r--actions/deletenotice.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/deletenotice.php b/actions/deletenotice.php
index 0db7e0d1e..64746283a 100644
--- a/actions/deletenotice.php
+++ b/actions/deletenotice.php
@@ -84,6 +84,9 @@ class DeletenoticeAction extends DeleteAction {
$replies->get('notice_id', $notice_id);
common_dequeue_notice($notice);
+ if (common_config('memcached', 'enabled')) {
+ $notice->blowSubsCache();
+ }
$replies->delete();
$notice->delete();
} else {