1
0
Fork 0

Merge pull request #433 from simensen/InstallerCleanup

Remove unneeded code from UpdateCommand
pull/432/merge
Jordi Boggiano 2012-03-11 08:47:46 -07:00
commit b024615e41
1 changed files with 1 additions and 3 deletions

View File

@ -13,7 +13,6 @@
namespace Composer\Command;
use Composer\Installer;
use Composer\Script\EventDispatcher;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
@ -50,8 +49,7 @@ EOT
{
$composer = $this->getComposer();
$io = $this->getApplication()->getIO();
$eventDispatcher = new EventDispatcher($composer, $io);
$install = Installer::create($io, $composer, $eventDispatcher);
$install = Installer::create($io, $composer);
return $install->run(
(Boolean)$input->getOption('prefer-source'),