]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add_notice -> addNotice
authorCraig Andrews <candrews@integralblue.com>
Tue, 31 Aug 2010 04:13:17 +0000 (00:13 -0400)
committerCraig Andrews <candrews@integralblue.com>
Fri, 3 Sep 2010 21:50:29 +0000 (17:50 -0400)
lib/implugin.php
plugins/Irc/IrcPlugin.php

index 67b93047f14201556ac8b7bb32d3b50964615615..b1b918fea5acbb504f32b9b92ee05ff74843c546 100644 (file)
@@ -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);
index 3e73c198cb2f7afb13eaf57a0aea43cfe499e7ce..b688e6140b546e2423fdd690978c1576bce47b5b 100644 (file)
@@ -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();