1
0
Fork 0

Don't show download progress

pull/3661/head
Rob Bast 2015-01-22 09:45:26 +01:00
parent 4038477a7f
commit cdcf39b2f0
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ EOT
try {
$url = $domain === 'github.com' ? 'https://api.'.$domain.'/rate_limit' : 'https://'.$domain.'/api/rate_limit';
$json = $this->rfs->getContents($domain, $url, array('retry-auth-failure' => false));
$json = $this->rfs->getContents($domain, $url, false, array('retry-auth-failure' => false));
$data = json_decode($json, true);
return $data['rate'];