Merge pull request #4944 from astifter/fix_better_curl_error_during_install
Fix #4943.
This commit is contained in:
commit
02c046e630
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Network
|
||||||
*/
|
*/
|
||||||
public static function fetchUrl($url, $binary = false, &$redirects = 0, $timeout = 0, $accept_content = null, $cookiejar = 0)
|
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'];
|
return $ret['body'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue