From 35fbe3fd42b7b87e3a8b225d0631bdf64358cbf6 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Mon, 24 Feb 2014 18:53:34 +0100 Subject: [PATCH] Download failover means we can now always try github zip urls for dist --- src/Composer/Repository/Vcs/GitHubDriver.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Composer/Repository/Vcs/GitHubDriver.php b/src/Composer/Repository/Vcs/GitHubDriver.php index 3cf2befb5..1bcbf8a3e 100644 --- a/src/Composer/Repository/Vcs/GitHubDriver.php +++ b/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' => '');