From 671b0f4cd99b330dc0fef1627f112dc765ff07b3 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Tue, 31 Aug 2010 00:09:29 -0400 Subject: [PATCH] format_notice -> formatNotice --- lib/implugin.php | 4 ++-- plugins/Xmpp/XmppPlugin.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/implugin.php b/lib/implugin.php index 84e0777b6d..97b3788e3a 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -88,7 +88,7 @@ abstract class ImPlugin extends Plugin */ function sendNotice($screenname, $notice) { - return $this->sendMessage($screenname, $this->format_notice($notice)); + return $this->sendMessage($screenname, $this->formatNotice($notice)); } /** @@ -371,7 +371,7 @@ abstract class ImPlugin extends Plugin * @return string plain-text version of the notice, with user nickname prefixed */ - function format_notice($notice) + function formatNotice($notice) { $profile = $notice->getProfile(); return $profile->nickname . ': ' . $notice->content . ' [' . $notice->id . ']'; diff --git a/plugins/Xmpp/XmppPlugin.php b/plugins/Xmpp/XmppPlugin.php index 321496e7de..10141b08d5 100644 --- a/plugins/Xmpp/XmppPlugin.php +++ b/plugins/Xmpp/XmppPlugin.php @@ -318,7 +318,7 @@ class XmppPlugin extends ImPlugin function sendNotice($screenname, $notice) { - $msg = $this->format_notice($notice); + $msg = $this->formatNotice($notice); $entry = $this->format_entry($notice); $this->queuedConnection()->message($screenname, $msg, 'chat', null, $entry); -- 2.39.5