]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Install.php
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
[friendica.git] / src / Module / Install.php
index 228f4be44af8e4687b0a29cda18e3507c9a0b28c..10a6176e402e2fba7f3866da298b45f93dfb2888 100644 (file)
@@ -57,8 +57,7 @@ class Install extends BaseModule
 
                // route: install/testrwrite
                // $baseurl/install/testrwrite to test if rewrite in .htaccess is working
-               // @TODO: Replace with parameter from router
-               if ($a->getArgumentValue(1, '') == 'testrewrite') {
+               if (DI::args()->get(1, '') == 'testrewrite') {
                        // Status Code 204 means that it worked without content
                        throw new HTTPException\NoContentException();
                }