From: Eric Helgeson Date: Fri, 22 Jan 2010 16:02:23 +0000 (-0500) Subject: Fix unqueuemanager to work with new Queue layout pushed in 0e852def6ae5aa529cca0aef11... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b7940ef39f476b6a4cd7619267b735e98b0d7cfa;p=quix0rs-gnu-social.git Fix unqueuemanager to work with new Queue layout pushed in 0e852def6ae5aa529cca0aef1187152fb5a880be "* Queue handlers should now define a handle() method instead of handle_notice()" And Queue managers should call handle() :) --- diff --git a/lib/unqueuemanager.php b/lib/unqueuemanager.php index 5595eac052..785de7c8ce 100644 --- a/lib/unqueuemanager.php +++ b/lib/unqueuemanager.php @@ -47,7 +47,7 @@ class UnQueueManager extends QueueManager $handler = $this->getHandler($queue); if ($handler) { - $handler->handle_notice($notice); + $handler->handle($notice); } else { if (Event::handle('UnqueueHandleNotice', array(&$notice, $queue))) { throw new ServerException("UnQueueManager: Unknown queue: $queue");