summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-08-31 00:03:37 -0400
committerCraig Andrews <candrews@integralblue.com>2010-09-03 17:50:28 -0400
commit764e0ab962018f41db6549393e98a64a7fe12a04 (patch)
tree0f4ddf3a3e8f5c47b689bb791111e48d54ba92f9
parent80176b0b2c9615b6df319392ee53fbccc1347045 (diff)
receive_raw_message -> receiveRawMessage
-rw-r--r--lib/implugin.php2
-rw-r--r--lib/imreceiverqueuehandler.php2
-rw-r--r--plugins/Aim/AimPlugin.php2
-rw-r--r--plugins/Irc/IrcPlugin.php2
-rw-r--r--plugins/Msn/MsnPlugin.php2
-rw-r--r--plugins/Xmpp/XmppPlugin.php2
6 files changed, 6 insertions, 6 deletions
diff --git a/lib/implugin.php b/lib/implugin.php
index 19624095d..8cbf7d33e 100644
--- a/lib/implugin.php
+++ b/lib/implugin.php
@@ -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
diff --git a/lib/imreceiverqueuehandler.php b/lib/imreceiverqueuehandler.php
index 269c7db91..aa4a663b7 100644
--- a/lib/imreceiverqueuehandler.php
+++ b/lib/imreceiverqueuehandler.php
@@ -37,6 +37,6 @@ class ImReceiverQueueHandler extends QueueHandler
*/
function handle($data)
{
- return $this->plugin->receive_raw_message($data);
+ return $this->plugin->receiveRawMessage($data);
}
}
diff --git a/plugins/Aim/AimPlugin.php b/plugins/Aim/AimPlugin.php
index b90842c0a..1d06a8bda 100644
--- a/plugins/Aim/AimPlugin.php
+++ b/plugins/Aim/AimPlugin.php
@@ -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'];
diff --git a/plugins/Irc/IrcPlugin.php b/plugins/Irc/IrcPlugin.php
index 38c87f74d..5434c4e7d 100644
--- a/plugins/Irc/IrcPlugin.php
+++ b/plugins/Irc/IrcPlugin.php
@@ -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);
diff --git a/plugins/Msn/MsnPlugin.php b/plugins/Msn/MsnPlugin.php
index ca30153b2..a112a2070 100644
--- a/plugins/Msn/MsnPlugin.php
+++ b/plugins/Msn/MsnPlugin.php
@@ -172,7 +172,7 @@ class MsnPlugin extends ImPlugin {
* @param array $data Data
* @return true if processing completed, false if message should be reprocessed
*/
- public function receive_raw_message($data) {
+ public function receiveRawMessage($data) {
$this->handle_incoming($data['sender'], $data['message']);
return true;
}
diff --git a/plugins/Xmpp/XmppPlugin.php b/plugins/Xmpp/XmppPlugin.php
index 4b57037f5..2cdc3272d 100644
--- a/plugins/Xmpp/XmppPlugin.php
+++ b/plugins/Xmpp/XmppPlugin.php
@@ -364,7 +364,7 @@ class XmppPlugin extends ImPlugin
return $html . ' ' . $entry;
}
- function receive_raw_message($pl)
+ function receiveRawMessage($pl)
{
$from = $this->normalize($pl['from']);