forked from GNUsocial/gnu-social
whoGets() method for Notice
This commit is contained in:
parent
5e81149e47
commit
96e51dad4b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user