Simplified structure
This commit is contained in:
parent
e584185c0a
commit
22ed028ba1
|
@ -64,8 +64,6 @@ class Community extends BaseModule
|
||||||
if (DI::pConfig()->get(local_user(), 'system', 'infinite_scroll')) {
|
if (DI::pConfig()->get(local_user(), 'system', 'infinite_scroll')) {
|
||||||
$tpl = Renderer::getMarkupTemplate('infinite_scroll_head.tpl');
|
$tpl = Renderer::getMarkupTemplate('infinite_scroll_head.tpl');
|
||||||
$o .= Renderer::replaceMacros($tpl, ['$reload_uri' => DI::args()->getQueryString()]);
|
$o .= Renderer::replaceMacros($tpl, ['$reload_uri' => DI::args()->getQueryString()]);
|
||||||
} else {
|
|
||||||
$o .= '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($_GET['mode']) || ($_GET['mode'] != 'raw')) {
|
if (empty($_GET['mode']) || ($_GET['mode'] != 'raw')) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user