handle_incoming -> handleIncoming

This commit is contained in:
Craig Andrews 2010-08-31 00:11:57 -04:00
parent 463e9c10d1
commit a3725de47b
5 changed files with 7 additions and 7 deletions

View 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

View 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;
}

View 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;
}

View File

@ -173,7 +173,7 @@ class MsnPlugin extends ImPlugin {
* @return true if processing completed, false if message should be reprocessed
*/
public function receiveRawMessage($data) {
$this->handle_incoming($data['sender'], $data['message']);
$this->handleIncoming($data['sender'], $data['message']);
return true;
}

View File

@ -378,7 +378,7 @@ class XmppPlugin extends ImPlugin
return;
}
$this->handle_incoming($from, $pl['body']);
$this->handleIncoming($from, $pl['body']);
return true;
}