Skip to content

Commit

Permalink
[FrameworkBundle] tweaked previous merge (refs #8242)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jun 13, 2013
1 parent 3b06837 commit 24a07fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Bundle/FrameworkBundle/Console/Application.php
Expand Up @@ -68,6 +68,8 @@ public function doRun(InputInterface $input, OutputInterface $output)
{
if (!$this->commandsRegistered) {
$this->registerCommands();

$this->commandsRegistered = true;
}

if (true === $input->hasParameterOption(array('--shell', '-s'))) {
Expand All @@ -90,7 +92,5 @@ protected function registerCommands()
$bundle->registerCommands($this);
}
}

$this->commandsRegistered = true;
}
}

0 comments on commit 24a07fb

Please sign in to comment.