1
0
Fork 0

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

pull/2753/head
Nils Adermann 2014-02-24 18:53:34 +01:00
parent 5ed18d9aa2
commit 35fbe3fd42
1 changed files with 0 additions and 4 deletions

View File

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