whoGets() method for Notice

This commit is contained in:
Evan Prodromou 2010-01-09 13:55:54 -08:00
parent 5e81149e47
commit 96e51dad4b

View File

@ -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;