Commit 08d5107c authored by Evan Prodromou's avatar Evan Prodromou

correct return values from start() in queue handlers

darcs-hash:20080828003013-84dde-7c8323ef348960f58590e872b2c4ab37107ba60a.gz
parent 9cdb33ac
......@@ -40,6 +40,7 @@ class OmbQueueHandler {
}
function start() {
return true;
}
function handle_notice($notice) {
......
......@@ -38,8 +38,9 @@ class SmsQueueHandler {
function transport() {
return 'omb';
}
function start() {
return true;
}
function handle_notice($notice) {
......
......@@ -42,6 +42,7 @@ class XmppQueueHandler {
function start() {
# Low priority; we don't want to receive messages
$this->conn = jabber_connect($this->resource, NULL, -100);
return !is_null($this->conn);
}
function handle_notice($notice) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment