diff options
author | Eric Helgeson <erichelgeson@gmail.com> | 2010-01-22 11:02:23 -0500 |
---|---|---|
committer | Eric Helgeson <erichelgeson@gmail.com> | 2010-01-22 11:02:23 -0500 |
commit | b7940ef39f476b6a4cd7619267b735e98b0d7cfa (patch) | |
tree | 491dc9a72692c60a93faeeb8300a9613947ed905 | |
parent | 7be5e7e524bbe3a789b2f352f14a011fc1dc8ba2 (diff) |
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() :)
-rw-r--r-- | lib/unqueuemanager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unqueuemanager.php b/lib/unqueuemanager.php index 5595eac05..785de7c8c 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"); |