Pārlūkot izejas kodu

Allow self-update to be called outside of a project context

Jordi Boggiano 13 gadi atpakaļ
vecāks
revīzija
aacdcb1570
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      src/Composer/Command/SelfUpdateCommand.php

+ 0 - 2
src/Composer/Command/SelfUpdateCommand.php

@@ -39,8 +39,6 @@ EOT
 
     protected function execute(InputInterface $input, OutputInterface $output)
     {
-        $composer = $this->getComposer();
-
         $latest = trim(file_get_contents('http://getcomposer.org/version'));
 
         if (Composer::VERSION !== $latest) {