]> git.mxchange.org Git - friendica.git/commit
Split and delete `ModuleController`
authorPhilipp <admin@philipp.info>
Fri, 19 Nov 2021 21:47:49 +0000 (22:47 +0100)
committerPhilipp <admin@philipp.info>
Sat, 27 Nov 2021 11:39:45 +0000 (12:39 +0100)
commitb5d2d32b443f7aa8ec6e0e91f36da3cc0a0f2a82
tree213ddefd6cde518919a3879daf461027ed141431
parenta5ab184fb805b9e03a84a29d0b6dd2c4835a0603
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()
17 files changed:
index.php
src/App.php
src/App/Arguments.php
src/App/Mode.php
src/App/ModuleController.php [deleted file]
src/App/Page.php
src/App/Router.php
src/BaseModule.php
src/Content/Nav.php
src/Core/ACL.php
src/DI.php
src/Security/Authentication.php
static/dependencies.config.php
tests/src/App/ModeTest.php
tests/src/App/ModuleControllerTest.php [deleted file]
tests/src/App/RouterTest.php
view/theme/frio/php/default.php