Minor improvements (#868)

* Minor improvements

* Update viewforum.php

* Updated
This commit is contained in:
Roman Kelesidis 2023-08-27 20:05:27 +07:00 committed by GitHub
commit 9b43d144a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 20 additions and 90 deletions

View file

@ -122,7 +122,6 @@ $template->assign_vars(array(
'USER_OPTIONS_JS' => (IS_GUEST) ? '{}' : json_encode($user->opt_js, JSON_THROW_ON_ERROR),
'USE_TABLESORTER' => !empty($page_cfg['use_tablesorter']),
'NEED_GEN_PASSKEY' => (!IS_GUEST && !\TorrentPier\Legacy\Torrent::getPasskey($userdata['user_id'])),
'SITENAME' => $bb_cfg['sitename'],
'U_INDEX' => BB_ROOT . "index.php",