diff --git a/lib/implugin.php b/lib/implugin.php index cbf10d3911..19624095db 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -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(); } diff --git a/plugins/Xmpp/XmppPlugin.php b/plugins/Xmpp/XmppPlugin.php index e62b92cb53..4b57037f51 100644 --- a/plugins/Xmpp/XmppPlugin.php +++ b/plugins/Xmpp/XmppPlugin.php @@ -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);