Minor improvements (#759)

This commit is contained in:
Roman Kelesidis 2023-06-02 14:14:48 +07:00 committed by GitHub
commit 0728fad7d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 12 deletions

View file

@ -17,7 +17,6 @@ $page_cfg['load_tpl_vars'] = array(
$show_last_topic = true;
$last_topic_max_len = 28;
$show_online_users = true;
$show_subforums = true;
$datastore->enqueue(array(
@ -403,9 +402,6 @@ if (IS_AM) {
}
}
// Display page
define('SHOW_ONLINE', $show_online_users);
if (isset($_GET['map'])) {
$template->assign_vars(array('PAGE_TITLE' => $lang['FORUM_MAP']));
}