]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Notice.php
cache frequently-used subscriber, subscription, notice and fave count values
[quix0rs-gnu-social.git] / classes / Notice.php
index e975cab93ce6b44e8bef11375c866ec1d3304382..75044cf638ae1b5218a08863ceed01f2a59a4191 100644 (file)
@@ -356,6 +356,8 @@ class Notice extends Memcached_DataObject
         $this->blowTagCache($blowLast);
         $this->blowGroupCache($blowLast);
         $this->blowConversationCache($blowLast);
+        $profile = Profile::staticGet($this->profile_id);
+        $profile->blowNoticeCount();
     }
 
     function blowConversationCache($blowLast=false)