send_notice -> sendNotice
This commit is contained in:
parent
6a848bcc8a
commit
80176b0b2c
|
@ -86,7 +86,7 @@ abstract class ImPlugin extends Plugin
|
||||||
*
|
*
|
||||||
* @return boolean success value
|
* @return boolean success value
|
||||||
*/
|
*/
|
||||||
function send_notice($screenname, $notice)
|
function sendNotice($screenname, $notice)
|
||||||
{
|
{
|
||||||
return $this->sendMessage($screenname, $this->format_notice($notice));
|
return $this->sendMessage($screenname, $this->format_notice($notice));
|
||||||
}
|
}
|
||||||
|
@ -298,7 +298,7 @@ abstract class ImPlugin extends Plugin
|
||||||
'Sending notice ' . $notice->id .
|
'Sending notice ' . $notice->id .
|
||||||
' to public listener ' . $screenname,
|
' to public listener ' . $screenname,
|
||||||
__FILE__);
|
__FILE__);
|
||||||
$this->send_notice($screenname, $notice);
|
$this->sendNotice($screenname, $notice);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -356,7 +356,7 @@ abstract class ImPlugin extends Plugin
|
||||||
common_log(LOG_INFO,
|
common_log(LOG_INFO,
|
||||||
'Sending notice ' . $notice->id . ' to ' . $user_im_prefs->screenname,
|
'Sending notice ' . $notice->id . ' to ' . $user_im_prefs->screenname,
|
||||||
__FILE__);
|
__FILE__);
|
||||||
$this->send_notice($user_im_prefs->screenname, $notice);
|
$this->sendNotice($user_im_prefs->screenname, $notice);
|
||||||
$user_im_prefs->free();
|
$user_im_prefs->free();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -316,7 +316,7 @@ class XmppPlugin extends ImPlugin
|
||||||
$this->queuedConnection()->message($screenname, $body, 'chat');
|
$this->queuedConnection()->message($screenname, $body, 'chat');
|
||||||
}
|
}
|
||||||
|
|
||||||
function send_notice($screenname, $notice)
|
function sendNotice($screenname, $notice)
|
||||||
{
|
{
|
||||||
$msg = $this->format_notice($notice);
|
$msg = $this->format_notice($notice);
|
||||||
$entry = $this->format_entry($notice);
|
$entry = $this->format_entry($notice);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user