fix tests & remove superfluous parameter

This commit is contained in:
Philipp Holzer 2019-08-12 21:51:51 +02:00
parent 4089e17f85
commit b1ae58cdc5
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
3 changed files with 5 additions and 24 deletions

View file

@ -107,11 +107,10 @@ class Module
* Determines the current module based on the App arguments and the server variable
*
* @param Arguments $args The Friendica arguments
* @param array $server The $_SERVER variable
*
* @return Module The module with the determined module
*/
public function determineModule(Arguments $args, array $server)
public function determineModule(Arguments $args)
{
if ($args->getArgc() > 0) {
$module = str_replace('.', '_', $args->get(0));