]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
send_notice -> sendNotice
authorCraig Andrews <candrews@integralblue.com>
Tue, 31 Aug 2010 04:02:50 +0000 (00:02 -0400)
committerCraig Andrews <candrews@integralblue.com>
Fri, 3 Sep 2010 21:50:28 +0000 (17:50 -0400)
lib/implugin.php
plugins/Xmpp/XmppPlugin.php

index cbf10d391120d657da85eb1ef9a4ea023944eb7b..19624095db174ccbffc941e18b35efa64c8e04d0 100644 (file)
@@ -86,7 +86,7 @@ abstract class ImPlugin extends Plugin
      *
      * @return boolean success value
      */
-    function send_notice($screenname, $notice)
+    function sendNotice($screenname, $notice)
     {
         return $this->sendMessage($screenname, $this->format_notice($notice));
     }
@@ -298,7 +298,7 @@ abstract class ImPlugin extends Plugin
                        'Sending notice ' . $notice->id .
                        ' to public listener ' . $screenname,
                        __FILE__);
-            $this->send_notice($screenname, $notice);
+            $this->sendNotice($screenname, $notice);
         }
 
         return true;
@@ -356,7 +356,7 @@ abstract class ImPlugin extends Plugin
             common_log(LOG_INFO,
                        'Sending notice ' . $notice->id . ' to ' . $user_im_prefs->screenname,
                        __FILE__);
-            $this->send_notice($user_im_prefs->screenname, $notice);
+            $this->sendNotice($user_im_prefs->screenname, $notice);
             $user_im_prefs->free();
         }
 
index e62b92cb5312cddf0e0b3d540f69408ae81e6b70..4b57037f51e2b73f258ef75554922ef51fd7f4f6 100644 (file)
@@ -316,7 +316,7 @@ class XmppPlugin extends ImPlugin
         $this->queuedConnection()->message($screenname, $body, 'chat');
     }
 
-    function send_notice($screenname, $notice)
+    function sendNotice($screenname, $notice)
     {
         $msg   = $this->format_notice($notice);
         $entry = $this->format_entry($notice);