瀏覽代碼

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

Jordi Boggiano 13 年之前
父節點
當前提交
aacdcb1570
共有 1 個文件被更改,包括 0 次插入2 次删除
  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) {