mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 00:13:42 +00:00
Remove deprecated App::module - replace with DI::module()->getName()
This commit is contained in:
parent
dfd8c4c24f
commit
9d9384f5ed
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ function rendertime_page_end(Friendica\App $a, &$o)
|
||||||
$duration = microtime(true) - $profiler->get('start');
|
$duration = microtime(true) - $profiler->get('start');
|
||||||
|
|
||||||
$ignored_modules = ["fbrowser"];
|
$ignored_modules = ["fbrowser"];
|
||||||
$ignored = in_array($a->module, $ignored_modules);
|
$ignored = in_array(DI::module()->getName(), $ignored_modules);
|
||||||
|
|
||||||
if (is_site_admin() && (($_GET['mode'] ?? '') != 'minimal') && !DI::mode()->isMobile() && !DI::mode()->isMobile() && !$ignored) {
|
if (is_site_admin() && (($_GET['mode'] ?? '') != 'minimal') && !DI::mode()->isMobile() && !DI::mode()->isMobile() && !$ignored) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue