summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-09 19:35:50 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-16 00:19:34 -0400
commitda512ad8c2b4cba719204d8a8f42ecba9716702e (patch)
tree0a1c883cb5a1a819759937bfb829e6bbb03c4d50 /classes/Notice.php
parentc07c4b20502735104cc35d260b4c7f3904a3a9fb (diff)
gc inboxes on a regular basis
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 08125cf7b..e16d84352 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -875,6 +875,7 @@ class Notice extends Memcached_DataObject
}
$qry .= '('.$id.', '.$this->id.', '.$source.', "'.$this->created.'") ';
$cnt++;
+ Notice_inbox::gc($id);
if ($cnt >= MAX_BOXCARS) {
$inbox = new Notice_inbox();
$inbox->query($qry);