From 054111bb545f3fc008f80eb54bfb706d15c57e01 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Tue, 31 Aug 2010 00:13:17 -0400 Subject: [PATCH] add_notice -> addNotice --- lib/implugin.php | 4 ++-- plugins/Irc/IrcPlugin.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/implugin.php b/lib/implugin.php index 67b93047f1..b1b918fea5 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -463,7 +463,7 @@ abstract class ImPlugin extends Plugin common_log(LOG_INFO, 'Posting a notice from ' . $user->nickname); - $this->add_notice($from, $user, $notice_text); + $this->addNotice($from, $user, $notice_text); } $user->free(); @@ -481,7 +481,7 @@ abstract class ImPlugin extends Plugin * * @param boolean success */ - protected function add_notice($screenname, $user, $body) + protected function addNotice($screenname, $user, $body) { $body = trim(strip_tags($body)); $content_shortened = common_shorten_links($body); diff --git a/plugins/Irc/IrcPlugin.php b/plugins/Irc/IrcPlugin.php index 3e73c198cb..b688e6140b 100644 --- a/plugins/Irc/IrcPlugin.php +++ b/plugins/Irc/IrcPlugin.php @@ -252,7 +252,7 @@ class IrcPlugin extends ImPlugin { return; } else { common_log(LOG_INFO, 'Posting a notice from ' . $user->nickname); - $this->add_notice($nick, $user, $notice_text); + $this->addNotice($nick, $user, $notice_text); } $user->free(); -- 2.39.5