mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 16:14:26 +02:00
fix tests & remove superfluous parameter
This commit is contained in:
parent
4089e17f85
commit
b1ae58cdc5
3 changed files with 5 additions and 24 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue