From 4086c247782ca0a84dcc071a4b9f1a6bff940913 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 7 Oct 2012 16:33:40 +0200 Subject: [PATCH] Do or do not, there is no try --- src/Composer/Command/ConfigCommand.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php index 9b952b410..98a48f600 100644 --- a/src/Composer/Command/ConfigCommand.php +++ b/src/Composer/Command/ConfigCommand.php @@ -257,16 +257,6 @@ EOT 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('Command Aborted by User'); - return 1; - } - } - $this->configFile->write($configSettings); }