summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-01 11:09:58 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-01 11:09:58 -0400
commit4c256a6d7ee287def5c26f401c8caa6bfe0b8dff (patch)
treea988fe53ad5308da0f0ac5d52e88fb0cc5983276 /lib
parent58b427869a001a91d66cff497f1563b8277f1a67 (diff)
better hook variables for StartQueueManager
Diffstat (limited to 'lib')
-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':