From: Craig Andrews Date: Tue, 31 Aug 2010 04:03:37 +0000 (-0400) Subject: receive_raw_message -> receiveRawMessage X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=764e0ab962018f41db6549393e98a64a7fe12a04;p=quix0rs-gnu-social.git receive_raw_message -> receiveRawMessage --- diff --git a/lib/implugin.php b/lib/implugin.php index 19624095db..8cbf7d33ed 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 269c7db918..aa4a663b7a 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 b90842c0a9..1d06a8bda6 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 38c87f74dd..5434c4e7d0 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 ca30153b25..a112a2070c 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 4b57037f51..2cdc3272df 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']);