whoGets() method for Notice
This commit is contained in:
parent
5e81149e47
commit
96e51dad4b
@ -830,7 +830,7 @@ class Notice extends Memcached_DataObject
|
|||||||
return $ids;
|
return $ids;
|
||||||
}
|
}
|
||||||
|
|
||||||
function addToInboxes()
|
function whoGets()
|
||||||
{
|
{
|
||||||
$users = $this->getSubscribedUsers();
|
$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));
|
Inbox::bulkInsert($this->id, array_keys($ni));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user