forked from GNUsocial/gnu-social
blow cache in Notice for tags
darcs-hash:20080929222107-5ed1f-37f079239b11b8ab13d8d33c850351f703d51371.gz
This commit is contained in:
parent
eafc2d6e33
commit
bf661a5e84
@ -150,7 +150,7 @@ class Notice extends Memcached_DataObject
|
||||
$tag->notice_id = $this->id;
|
||||
if ($tag->find()) {
|
||||
while ($tag->fetch()) {
|
||||
$tag->blowCache();
|
||||
$cache->delete(common_cache_key('notice_tag:notice_stream:' . $tag->tag));
|
||||
}
|
||||
}
|
||||
$tag->free();
|
||||
|
Loading…
Reference in New Issue
Block a user