]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
handle_incoming -> handleIncoming
authorCraig Andrews <candrews@integralblue.com>
Tue, 31 Aug 2010 04:11:57 +0000 (00:11 -0400)
committerCraig Andrews <candrews@integralblue.com>
Fri, 3 Sep 2010 21:50:29 +0000 (17:50 -0400)
lib/implugin.php
plugins/Aim/AimPlugin.php
plugins/Irc/IrcPlugin.php
plugins/Msn/MsnPlugin.php
plugins/Xmpp/XmppPlugin.php

index 25c3e96f97874533993bda0034da1da30908d34b..67b93047f14201556ac8b7bb32d3b50964615615 100644 (file)
@@ -106,7 +106,7 @@ abstract class ImPlugin extends Plugin
     /**
      * receive a raw message
      * Raw IM data is taken from the incoming queue, and passed to this function.
-     * It should parse the raw message and call handle_incoming()
+     * It should parse the raw message and call handleIncoming()
      * 
      * Returning false may CAUSE REPROCESSING OF THE QUEUE ITEM, and should
      * be used for temporary failures only. For permanent failures such as
@@ -436,7 +436,7 @@ abstract class ImPlugin extends Plugin
      *
      * @param boolean success
      */
-    protected function handle_incoming($from, $notice_text)
+    protected function handleIncoming($from, $notice_text)
     {
         $user = $this->get_user($from);
         // For common_current_user to work
index 3f394a7404ac21ddc218bb930a706c5c3b21adab..225d92ad6a8a10337d26004f6504b9ea8dd64bf6 100644 (file)
@@ -138,7 +138,7 @@ class AimPlugin extends ImPlugin
         $user = $this->get_user($from);
         $notice_text = $info['message'];
 
-        $this->handle_incoming($from, $notice_text);
+        $this->handleIncoming($from, $notice_text);
 
         return true;
     }
index a5a343e02d0611be29d5fac606ae7e51c33474f8..3e73c198cb2f7afb13eaf57a0aea43cfe499e7ce 100644 (file)
@@ -211,10 +211,10 @@ class IrcPlugin extends ImPlugin {
             if (in_array($command, $this->whiteList)) {
                 $this->handle_channel_incoming($data['sender'], $data['source'], $message);
             } else {
-                $this->handle_incoming($data['sender'], $message);
+                $this->handleIncoming($data['sender'], $message);
             }
         } else {
-            $this->handle_incoming($data['sender'], $data['message']);
+            $this->handleIncoming($data['sender'], $data['message']);
         }
         return true;
     }
index 9912021d75b69ffddb6265e989fc3fa3f17cf7ef..187486eedcb687aa4e75a429ef09446a8864d9a1 100644 (file)
@@ -173,7 +173,7 @@ class MsnPlugin extends ImPlugin {
      * @return true if processing completed, false if message should be reprocessed\r
      */\r
     public function receiveRawMessage($data) {\r
-        $this->handle_incoming($data['sender'], $data['message']);\r
+        $this->handleIncoming($data['sender'], $data['message']);\r
         return true;\r
     }\r
 \r
index 10141b08d57bc2e32cb7cedbb8217e240bd604c9..20025417824e0126741cff6aad11e1d071cc9c72 100644 (file)
@@ -378,7 +378,7 @@ class XmppPlugin extends ImPlugin
             return;
         }
 
-        $this->handle_incoming($from, $pl['body']);
+        $this->handleIncoming($from, $pl['body']);
         
         return true;
     }