Unused code fragment removed

This commit is contained in:
Michael 2020-09-27 05:31:39 +00:00
parent de9cd9881c
commit 08016710d4

View file

@ -77,7 +77,7 @@ class Community extends BaseModule
];
}
if (DI::pConfig()->get(local_user(), 'system', 'infinite_scroll') && ($_GET['mode'] ?? '') != 'minimal') {
if (DI::pConfig()->get(local_user(), 'system', 'infinite_scroll')) {
$tpl = Renderer::getMarkupTemplate('infinite_scroll_head.tpl');
$o = Renderer::replaceMacros($tpl, ['$reload_uri' => DI::args()->getQueryString()]);
} else {