Refactor Commands

This commit is contained in:
Romain Neutron
2012-06-21 13:48:21 +02:00
parent 8e8949e8bb
commit d4d9dd2cee
27 changed files with 59 additions and 79 deletions

View File

@@ -37,10 +37,8 @@ class module_console_systemConfigCheck extends Command
return false;
}
public function execute(InputInterface $input, OutputInterface $output)
protected function doExecute(InputInterface $input, OutputInterface $output)
{
$this->checkSetup();
if ( ! function_exists('_')) {
$output->writeln('<error>YOU MUST ENABLE GETTEXT SUPPORT TO USE PHRASEANET</error>');
$output->writeln('Canceled');