summaryrefslogtreecommitdiff
path: root/lib/unqueuemanager.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-10-23 20:31:53 +0000
committerBrion Vibber <brion@pobox.com>2009-10-23 20:31:53 +0000
commitb89878511f1f30b4e18858940a5468b8999ab7ea (patch)
treeb4e9b7abdcfd62275cc1fd40a5512c82e3821409 /lib/unqueuemanager.php
parentc93b9b9523d64f29e5d2d9885febd0ac4c167a20 (diff)
Fix three fatal errors when posting from 0.9.x:
* OMB remote updates were trying to load nonexistent Laconica_OMB_Service_Consumer class -- fixed to StatusNet_OMB_Service_Consumer. Regression caused during libomb merge. * Twitter processing was still being queued from core when no twitter plugin was present, which triggered an exception from UnqueueHandler; leftover code from before the plugin extraction. * UnqueueHandler's exception caused a fatal error instead because it was missing the "new" keyword. Wouldn't have been seen when testing with the plugin enabled.
Diffstat (limited to 'lib/unqueuemanager.php')
-rw-r--r--lib/unqueuemanager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unqueuemanager.php b/lib/unqueuemanager.php
index 51261bcd7..6c26fac0e 100644
--- a/lib/unqueuemanager.php
+++ b/lib/unqueuemanager.php
@@ -72,7 +72,7 @@ class UnQueueManager
break;
default:
if (Event::handle('UnqueueHandleNotice', array(&$notice, $queue))) {
- throw ServerException("UnQueueManager: Unknown queue: $queue");
+ throw new ServerException("UnQueueManager: Unknown queue: $queue");
}
}
}