better hook variables for StartQueueManager
This commit is contained in:
parent
58b427869a
commit
4c256a6d7e
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue
Block a user