summaryrefslogtreecommitdiff
path: root/classes/Notice_tag.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Notice_tag.php')
-rw-r--r--classes/Notice_tag.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/Notice_tag.php b/classes/Notice_tag.php
index e9f00d6d1..5ab6e332a 100644
--- a/classes/Notice_tag.php
+++ b/classes/Notice_tag.php
@@ -45,4 +45,11 @@ class Notice_tag extends Memcached_DataObject
'notice_tag:notice_stream:' . $tag,
$offset, $limit);
}
+
+ function blowCache() {
+ $cache = common_memcache();
+ if ($cache) {
+ $cache->delete(common_cache_key('notice_tag:notice_stream:' . $this->tag));
+ }
+ }
}