From: Craig Andrews Date: Tue, 31 Aug 2010 04:13:17 +0000 (-0400) Subject: add_notice -> addNotice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=054111bb545f3fc008f80eb54bfb706d15c57e01;p=quix0rs-gnu-social.git add_notice -> addNotice --- 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();