summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 8783912e8..6284b8ca5 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -830,7 +830,7 @@ class Notice extends Memcached_DataObject
return $ids;
}
- function addToInboxes()
+ function whoGets()
{
$users = $this->getSubscribedUsers();
@@ -871,6 +871,13 @@ class Notice extends Memcached_DataObject
}
}
+ return $ni;
+ }
+
+ function addToInboxes()
+ {
+ $ni = $this->whoGets();
+
Inbox::bulkInsert($this->id, array_keys($ni));
return;