]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Installer.php
Merge pull request #10819 from MrPetovan/task/refactor-notifications
[friendica.git] / src / Core / Installer.php
index 041771812526fe028b8e7cda42d7137f7e54ec33..96fe941564b915f0d2e12b631ac53680bcd38007 100644 (file)
@@ -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) {