Explorar el Código

Download failover means we can now always try github zip urls for dist

Nils Adermann hace 11 años
padre
commit
35fbe3fd42
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      src/Composer/Repository/Vcs/GitHubDriver.php

+ 0 - 4
src/Composer/Repository/Vcs/GitHubDriver.php

@@ -117,10 +117,6 @@ class GitHubDriver extends VcsDriver
      */
     public function getDist($identifier)
     {
-        if ($this->gitDriver) {
-            return $this->gitDriver->getDist($identifier);
-        }
-
         $url = $this->getApiUrl() . '/repos/'.$this->owner.'/'.$this->repository.'/zipball/'.$identifier;
 
         return array('type' => 'zip', 'url' => $url, 'reference' => $identifier, 'shasum' => '');