summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@zhora.(none)>2009-01-19 22:21:16 -0500
committerEvan Prodromou <evan@zhora.(none)>2009-01-19 22:21:16 -0500
commit3285e0979dc7e475291f1a8a0931868591fe0de7 (patch)
tree52768192b524a59d8d073ed7b2e95678307d5482 /classes
parent2f6152f2f3613311e23b9021a7ae0ff8357ecd6c (diff)
Move add to notice inboxes before cache clearing in hopes they will be
updated
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index ca8283bce..d614ceeba 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -155,6 +155,10 @@ class Notice extends Memcached_DataObject
common_save_replies($notice);
$notice->saveTags();
+ // Add to notice inboxes
+
+ $notice->addToInboxes();
+
# Clear the cache for subscribed users, so they'll update at next request
# XXX: someone clever could prepend instead of clearing the cache
@@ -162,7 +166,6 @@ class Notice extends Memcached_DataObject
$notice->blowCaches();
}
- $notice->addToInboxes();
return $notice;
}