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();