[FrameworkBundle] tweaked previous merge (refs #8242)
This commit is contained in:
parent
3b068378e8
commit
24a07fbab8
@ -68,6 +68,8 @@ class Application extends BaseApplication
|
|||||||
{
|
{
|
||||||
if (!$this->commandsRegistered) {
|
if (!$this->commandsRegistered) {
|
||||||
$this->registerCommands();
|
$this->registerCommands();
|
||||||
|
|
||||||
|
$this->commandsRegistered = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (true === $input->hasParameterOption(array('--shell', '-s'))) {
|
if (true === $input->hasParameterOption(array('--shell', '-s'))) {
|
||||||
@ -90,7 +92,5 @@ class Application extends BaseApplication
|
|||||||
$bundle->registerCommands($this);
|
$bundle->registerCommands($this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->commandsRegistered = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user