Browse Source

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

Nils Adermann 11 years ago
parent
commit
35fbe3fd42
1 changed files with 0 additions and 4 deletions
  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' => '');