From 747abf6843281c78e5b9a6d18b0abef85299568a Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Wed, 11 Jan 2012 09:05:23 +0100 Subject: [PATCH] [Command] removed unused local variable $composer in UpdateCommand::execute() method. --- src/Composer/Command/UpdateCommand.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Composer/Command/UpdateCommand.php b/src/Composer/Command/UpdateCommand.php index 4384b955f..6b46199c0 100644 --- a/src/Composer/Command/UpdateCommand.php +++ b/src/Composer/Command/UpdateCommand.php @@ -53,9 +53,8 @@ EOT protected function execute(InputInterface $input, OutputInterface $output) { - $composer = $this->getComposer(); - $installCommand = $this->getApplication()->find('install'); + return $installCommand->install($input, $output, true); } }