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

index 19624095db174ccbffc941e18b35efa64c8e04d0..8cbf7d33ed59e2cbacba4e95a1f90591f79d4295 100644 (file)
@@ -117,7 +117,7 @@ abstract class ImPlugin extends Plugin
      *
      * @return boolean true if processing completed, false for temporary failures
      */
-    abstract function receive_raw_message($data);
+    abstract function receiveRawMessage($data);
 
     /**
      * get the screenname of the daemon that sends and receives message for this service
index 269c7db91824c535658758f1723da0fa5d17c18c..aa4a663b7a6a00ff9d5e0278082d99ba93cafb92 100644 (file)
@@ -37,6 +37,6 @@ class ImReceiverQueueHandler extends QueueHandler
      */
     function handle($data)
     {
-        return $this->plugin->receive_raw_message($data);
+        return $this->plugin->receiveRawMessage($data);
     }
 }
index b90842c0a9500f8b9fcee5e341dfa9db02fb121d..1d06a8bda616393188816af4e0638493b9209231 100644 (file)
@@ -131,7 +131,7 @@ class AimPlugin extends ImPlugin
      *
      * @return true if processing completed, false if message should be reprocessed
      */
-    function receive_raw_message($message)
+    function receiveRawMessage($message)
     {
         $info=Aim::getMessageInfo($message);
         $from = $info['from'];
index 38c87f74dddd7b785c5ffcafd4470be6df4e82e6..5434c4e7d0ba140a9f35f0c7ee0cb2412523d6b4 100644 (file)
@@ -203,7 +203,7 @@ class IrcPlugin extends ImPlugin {
      *
      * @return boolean true if processing completed, false if message should be reprocessed
      */
-    public function receive_raw_message($data) {
+    public function receiveRawMessage($data) {
         if (strpos($data['source'], '#') === 0) {
             $message = $data['message'];
             $parts = explode(' ', $message, 2);
index ca30153b25ae6be143977f52576aa0e62b3639b3..a112a2070c7808ed0dbd2fedcc461b7fe076e83b 100644 (file)
@@ -172,7 +172,7 @@ class MsnPlugin extends ImPlugin {
      * @param array $data Data\r
      * @return true if processing completed, false if message should be reprocessed\r
      */\r
-    public function receive_raw_message($data) {\r
+    public function receiveRawMessage($data) {\r
         $this->handle_incoming($data['sender'], $data['message']);\r
         return true;\r
     }\r
index 4b57037f51e2b73f258ef75554922ef51fd7f4f6..2cdc3272df93c05fa612c9c6817e2cd4e74fb7d4 100644 (file)
@@ -364,7 +364,7 @@ class XmppPlugin extends ImPlugin
         return $html . ' ' . $entry;
     }
 
-    function receive_raw_message($pl)
+    function receiveRawMessage($pl)
     {
         $from = $this->normalize($pl['from']);