correct return values from start() in queue handlers
darcs-hash:20080828003013-84dde-7c8323ef348960f58590e872b2c4ab37107ba60a.gz
This commit is contained in:
parent
9cdb33ac0e
commit
08d5107cf1
@ -40,6 +40,7 @@ class OmbQueueHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function handle_notice($notice) {
|
function handle_notice($notice) {
|
||||||
|
@ -38,8 +38,9 @@ class SmsQueueHandler {
|
|||||||
function transport() {
|
function transport() {
|
||||||
return 'omb';
|
return 'omb';
|
||||||
}
|
}
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function handle_notice($notice) {
|
function handle_notice($notice) {
|
||||||
|
@ -42,6 +42,7 @@ class XmppQueueHandler {
|
|||||||
function start() {
|
function start() {
|
||||||
# Low priority; we don't want to receive messages
|
# Low priority; we don't want to receive messages
|
||||||
$this->conn = jabber_connect($this->resource, NULL, -100);
|
$this->conn = jabber_connect($this->resource, NULL, -100);
|
||||||
|
return !is_null($this->conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
function handle_notice($notice) {
|
function handle_notice($notice) {
|
||||||
|
Loading…
Reference in New Issue
Block a user