mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-23 00:10:24 +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
4d7c1e795d
commit
82cef20e60
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ function rendertime_page_end(Friendica\App $a, &$o)
|
|||
$duration = microtime(true) - $profiler->get('start');
|
||||
|
||||
$ignored_modules = ["fbrowser"];
|
||||
$ignored = in_array(DI::module()->getName(), $ignored_modules);
|
||||
$ignored = in_array(DI::args()->getModuleName(), $ignored_modules);
|
||||
|
||||
if ($a->isSiteAdmin() && (($_GET['mode'] ?? '') != 'minimal') && !DI::mode()->isMobile() && !DI::mode()->isMobile() && !$ignored) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue