forked from GNUsocial/gnu-social
broadcast_notice -> broadcastNotice
This commit is contained in:
parent
9ccf65a311
commit
00e21d4a6f
@ -318,7 +318,7 @@ abstract class ImPlugin extends Plugin
|
|||||||
* @return boolean success flag
|
* @return boolean success flag
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function broadcast_notice($notice)
|
function broadcastNotice($notice)
|
||||||
{
|
{
|
||||||
|
|
||||||
$ni = $notice->whoGets();
|
$ni = $notice->whoGets();
|
||||||
|
@ -37,7 +37,7 @@ class ImQueueHandler extends QueueHandler
|
|||||||
*/
|
*/
|
||||||
function handle($notice)
|
function handle($notice)
|
||||||
{
|
{
|
||||||
$this->plugin->broadcast_notice($notice);
|
$this->plugin->broadcastNotice($notice);
|
||||||
if ($notice->is_local == Notice::LOCAL_PUBLIC ||
|
if ($notice->is_local == Notice::LOCAL_PUBLIC ||
|
||||||
$notice->is_local == Notice::LOCAL_NONPUBLIC) {
|
$notice->is_local == Notice::LOCAL_NONPUBLIC) {
|
||||||
$this->plugin->public_notice($notice);
|
$this->plugin->public_notice($notice);
|
||||||
|
Loading…
Reference in New Issue
Block a user