Fix unqueuemanager for updated QueueHandler interface

This commit is contained in:
Brion Vibber 2010-01-22 13:49:05 -08:00
parent 6e4cad71e5
commit a66181c900

View File

@ -47,7 +47,7 @@ class UnQueueManager extends QueueManager
$handler = $this->getHandler($queue); $handler = $this->getHandler($queue);
if ($handler) { if ($handler) {
$handler->handle_notice($notice); $handler->handle($notice);
} else { } else {
if (Event::handle('UnqueueHandleNotice', array(&$notice, $queue))) { if (Event::handle('UnqueueHandleNotice', array(&$notice, $queue))) {
throw new ServerException("UnQueueManager: Unknown queue: $queue"); throw new ServerException("UnQueueManager: Unknown queue: $queue");