Merge pull request #4944 from astifter/fix_better_curl_error_during_install

Fix #4943.
This commit is contained in:
Tobias Diekershoff 2018-04-28 08:58:45 +02:00 committed by GitHub
commit 02c046e630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ class Network
*/
public static function fetchUrl($url, $binary = false, &$redirects = 0, $timeout = 0, $accept_content = null, $cookiejar = 0)
{
$ret = fetchUrlFull($url, $binary, $redirects, $timeout, $accept_content, $cookiejar);
$ret = self::fetchUrlFull($url, $binary, $redirects, $timeout, $accept_content, $cookiejar);
return $ret['body'];
}