mirror of
https://github.com/friendica/friendica
synced 2025-04-24 01:50:17 +00:00
Rename DI::httpRequest() into DI::httpClient()
This commit is contained in:
parent
505100bdd7
commit
13a91e63aa
38 changed files with 94 additions and 94 deletions
|
@ -557,11 +557,11 @@ class Installer
|
|||
$help = "";
|
||||
$error_msg = "";
|
||||
if (function_exists('curl_init')) {
|
||||
$fetchResult = DI::httpRequest()->fetchFull($baseurl . "/install/testrewrite");
|
||||
$fetchResult = DI::httpClient()->fetchFull($baseurl . "/install/testrewrite");
|
||||
|
||||
$url = Strings::normaliseLink($baseurl . "/install/testrewrite");
|
||||
if ($fetchResult->getReturnCode() != 204) {
|
||||
$fetchResult = DI::httpRequest()->fetchFull($url);
|
||||
$fetchResult = DI::httpClient()->fetchFull($url);
|
||||
}
|
||||
|
||||
if ($fetchResult->getReturnCode() != 204) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue