From 80176b0b2c9615b6df319392ee53fbccc1347045 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Tue, 31 Aug 2010 00:02:50 -0400 Subject: [PATCH] send_notice -> sendNotice --- lib/implugin.php | 6 +++--- plugins/Xmpp/XmppPlugin.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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); -- 2.39.5