handle_incoming -> handleIncoming
This commit is contained in:
parent
463e9c10d1
commit
a3725de47b
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -378,7 +378,7 @@ class XmppPlugin extends ImPlugin
|
|||
return;
|
||||
}
|
||||
|
||||
$this->handle_incoming($from, $pl['body']);
|
||||
$this->handleIncoming($from, $pl['body']);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user