Browse Source

Don't show download progress

Rob Bast 10 years ago
parent
commit
cdcf39b2f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Command/DiagnoseCommand.php

+ 1 - 1
src/Composer/Command/DiagnoseCommand.php

@@ -271,7 +271,7 @@ EOT
 
 
         try {
         try {
             $url = $domain === 'github.com' ? 'https://api.'.$domain.'/rate_limit' : 'https://'.$domain.'/api/rate_limit';
             $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);
             $data = json_decode($json, true);
 
 
             return $data['rate'];
             return $data['rate'];