mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:50:11 +00:00
Split and delete ModuleController
- $moduleName is part of the argument string => App\Arguments - $isBackend boolean already part of App\Mode::isBackend() - $module is now the direct return of App\Router::getModule() - ModuleController::run() moved to BaseModule::run()
This commit is contained in:
parent
a5ab184fb8
commit
b5d2d32b44
17 changed files with 299 additions and 793 deletions
|
@ -98,14 +98,6 @@ abstract class DI
|
|||
return self::$dice->create(App\Mode::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return App\ModuleController
|
||||
*/
|
||||
public static function module()
|
||||
{
|
||||
return self::$dice->create(App\ModuleController::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return App\Page
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue