better hook variables for StartQueueManager

This commit is contained in:
Evan Prodromou 2009-07-01 11:09:58 -04:00
parent 58b427869a
commit 4c256a6d7e
1 changed files with 2 additions and 2 deletions

View File

@ -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':