mirror of
https://github.com/friendica/friendica
synced 2025-04-22 18:30:13 +00:00
Make $_REQUEST processing independent of sub-calls
- Move HTTPInputData::process() into App::runFrontend() - Pass $_REQUEST (including processed Input) to every Module method - Delete $_POST parameters at Module post() calls because of $_REQUEST
This commit is contained in:
parent
f580d8e5c0
commit
2e4d654c0a
96 changed files with 156 additions and 156 deletions
|
@ -33,7 +33,7 @@ class PageNotFound extends BaseModule
|
|||
throw new HTTPException\NotFoundException(DI::l10n()->t('Page not found.'));
|
||||
}
|
||||
|
||||
public function run(array $post = [], array $request = []): ResponseInterface
|
||||
public function run(array $request = []): ResponseInterface
|
||||
{
|
||||
/* The URL provided does not resolve to a valid module.
|
||||
*
|
||||
|
@ -61,6 +61,6 @@ class PageNotFound extends BaseModule
|
|||
'query' => $this->server['QUERY_STRING']
|
||||
]);
|
||||
|
||||
return parent::run($post, $request); // TODO: Change the autogenerated stub
|
||||
return parent::run($request); // TODO: Change the autogenerated stub
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue