mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:50:12 +00:00
Refactor deprecated App::getArgumentValue() to DI::args()->get()
This commit is contained in:
parent
8b6e123b3f
commit
aedbdc536a
3 changed files with 2 additions and 13 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue