]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
blow cache in Notice for tags
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 29 Sep 2008 22:21:07 +0000 (18:21 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 29 Sep 2008 22:21:07 +0000 (18:21 -0400)
darcs-hash:20080929222107-5ed1f-37f079239b11b8ab13d8d33c850351f703d51371.gz

classes/Notice.php

index 3402e2b307bba00c1cfd5676ad47a48f06f434de..04ac6d7d4e5ae38613fd8fe6438b7e11a0200b9a 100644 (file)
@@ -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();