]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix unqueuemanager to work with new Queue layout pushed in 0e852def6ae5aa529cca0aef11...
authorEric Helgeson <erichelgeson@gmail.com>
Fri, 22 Jan 2010 16:02:23 +0000 (11:02 -0500)
committerEric Helgeson <erichelgeson@gmail.com>
Fri, 22 Jan 2010 16:02:23 +0000 (11:02 -0500)
"* Queue handlers should now define a handle() method instead of handle_notice()"

And Queue managers should call handle() :)

lib/unqueuemanager.php

index 5595eac052c18baab2b1effe6879a3c5031fcfd6..785de7c8ce25b629a7665fbb1ab3df22e19ab997 100644 (file)
@@ -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");