1
0
Fork 0

Do or do not, there is no try

pull/1032/merge
Jordi Boggiano 2012-10-07 16:33:40 +02:00
parent 17d8dfba1d
commit 4086c24778
1 changed files with 0 additions and 10 deletions

View File

@ -257,16 +257,6 @@ EOT
unset($configSettings['config']); unset($configSettings['config']);
} }
// Make confirmation
if ($input->isInteractive()) {
$dialog = $this->getHelperSet()->get('dialog');
$output->writeln(JsonFile::encode($configSettings));
if (!$dialog->askConfirmation($output, $dialog->getQuestion('Do you confirm?', 'yes', '?'), true)) {
$output->writeln('<error>Command Aborted by User</error>');
return 1;
}
}
$this->configFile->write($configSettings); $this->configFile->write($configSettings);
} }