mirror of
https://github.com/friendica/friendica
synced 2025-04-29 05:44:22 +02:00
The redundant function "fetchfull" is removed
This commit is contained in:
parent
9bf5b27362
commit
22828388c0
6 changed files with 25 additions and 43 deletions
|
@ -557,11 +557,11 @@ class Installer
|
|||
$help = "";
|
||||
$error_msg = "";
|
||||
if (function_exists('curl_init')) {
|
||||
$fetchResult = DI::httpClient()->fetchFull($baseurl . "/install/testrewrite");
|
||||
$fetchResult = DI::httpClient()->get($baseurl . "/install/testrewrite");
|
||||
|
||||
$url = Strings::normaliseLink($baseurl . "/install/testrewrite");
|
||||
if ($fetchResult->getReturnCode() != 204) {
|
||||
$fetchResult = DI::httpClient()->fetchFull($url);
|
||||
$fetchResult = DI::httpClient()->get($url);
|
||||
}
|
||||
|
||||
if ($fetchResult->getReturnCode() != 204) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue