blow cache in Notice for tags

darcs-hash:20080929222107-5ed1f-37f079239b11b8ab13d8d33c850351f703d51371.gz
This commit is contained in:
Evan Prodromou 2008-09-29 18:21:07 -04:00
parent eafc2d6e33
commit bf661a5e84
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class Notice extends Memcached_DataObject
$tag->notice_id = $this->id; $tag->notice_id = $this->id;
if ($tag->find()) { if ($tag->find()) {
while ($tag->fetch()) { while ($tag->fetch()) {
$tag->blowCache(); $cache->delete(common_cache_key('notice_tag:notice_stream:' . $tag->tag));
} }
} }
$tag->free(); $tag->free();