summaryrefslogtreecommitdiff
path: root/lib/queuemanager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/queuemanager.php')
-rw-r--r--lib/queuemanager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/queuemanager.php b/lib/queuemanager.php
index 64aca1bc1..92f0e10de 100644
--- a/lib/queuemanager.php
+++ b/lib/queuemanager.php
@@ -36,9 +36,9 @@ class QueueManager
{
if (empty(self::$qm)) {
- if (Event::handle('StartNewQueueManager', self::$qm)) {
+ $type = common_config('queue', 'sub');
- $type = common_config('queue', 'sub');
+ if (Event::handle('StartNewQueueManager', array($type, &self::$qm))) {
switch ($type) {
case 'db':