correct return values from start() in queue handlers

darcs-hash:20080828003013-84dde-7c8323ef348960f58590e872b2c4ab37107ba60a.gz
This commit is contained in:
Evan Prodromou 2008-08-27 20:30:13 -04:00
parent 9cdb33ac0e
commit 08d5107cf1
3 changed files with 4 additions and 1 deletions

View File

@ -40,6 +40,7 @@ class OmbQueueHandler {
}
function start() {
return true;
}
function handle_notice($notice) {

View File

@ -38,8 +38,9 @@ class SmsQueueHandler {
function transport() {
return 'omb';
}
function start() {
return true;
}
function handle_notice($notice) {

View File

@ -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) {