diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-07-01 11:09:58 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-07-01 11:09:58 -0400 |
commit | 4c256a6d7ee287def5c26f401c8caa6bfe0b8dff (patch) | |
tree | a988fe53ad5308da0f0ac5d52e88fb0cc5983276 /lib/queuemanager.php | |
parent | 58b427869a001a91d66cff497f1563b8277f1a67 (diff) |
better hook variables for StartQueueManager
Diffstat (limited to 'lib/queuemanager.php')
-rw-r--r-- | lib/queuemanager.php | 4 |
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': |