diff options
Diffstat (limited to 'scripts/xmppconfirmhandler.php')
-rwxr-xr-x | scripts/xmppconfirmhandler.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/scripts/xmppconfirmhandler.php b/scripts/xmppconfirmhandler.php index 3c31c5d8b..a97b61a7f 100755 --- a/scripts/xmppconfirmhandler.php +++ b/scripts/xmppconfirmhandler.php @@ -35,16 +35,10 @@ set_error_handler('common_error_handler'); define('CLAIM_TIMEOUT', 1200); -class XmppConfirmHandler { +class XmppConfirmHandler extends QueueHandler { var $_id = 'confirm'; - function XmppConfirmHandler($id=NULL) { - if ($id) { - $this->_id = $id; - } - } - function start() { # Low priority; we don't want to receive messages $this->log(LOG_INFO, "INITIALIZE"); @@ -141,10 +135,6 @@ class XmppConfirmHandler { $confirm->update(DB_DATAOBJECT_WHEREADD_ONLY); } - function log($level, $msg) { - common_log($level, 'XmppConfirmHandler ('. $this->_id .'): '.$msg); - } - function idle($timeout=0) { $this->conn->processTime($timeout); } |