summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-09 17:28:38 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-07-09 17:28:38 -0700
commit8b65883f9ddf1cb1b7bdec323722da351fa0cb69 (patch)
tree6dcfeb299efe9088a904d4def7c263618380a692 /classes/Notice.php
parentefd94b4e5423c72a65cdd6acd252e5d00ec98967 (diff)
cache frequently-used subscriber, subscription, notice and fave count values
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index e975cab93..75044cf63 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -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)