send_notice -> sendNotice

This commit is contained in:
Craig Andrews 2010-08-31 00:02:50 -04:00
parent 6a848bcc8a
commit 80176b0b2c
2 changed files with 4 additions and 4 deletions

View File

@ -86,7 +86,7 @@ abstract class ImPlugin extends Plugin
*
* @return boolean success value
*/
function send_notice($screenname, $notice)
function sendNotice($screenname, $notice)
{
return $this->sendMessage($screenname, $this->format_notice($notice));
}
@ -298,7 +298,7 @@ abstract class ImPlugin extends Plugin
'Sending notice ' . $notice->id .
' to public listener ' . $screenname,
__FILE__);
$this->send_notice($screenname, $notice);
$this->sendNotice($screenname, $notice);
}
return true;
@ -356,7 +356,7 @@ abstract class ImPlugin extends Plugin
common_log(LOG_INFO,
'Sending notice ' . $notice->id . ' to ' . $user_im_prefs->screenname,
__FILE__);
$this->send_notice($user_im_prefs->screenname, $notice);
$this->sendNotice($user_im_prefs->screenname, $notice);
$user_im_prefs->free();
}

View File

@ -316,7 +316,7 @@ class XmppPlugin extends ImPlugin
$this->queuedConnection()->message($screenname, $body, 'chat');
}
function send_notice($screenname, $notice)
function sendNotice($screenname, $notice)
{
$msg = $this->format_notice($notice);
$entry = $this->format_entry($notice);