Revert "Generate jumpbox files only if enabled (#764)"

This reverts commit ce9c3d9b47.
This commit is contained in:
Roman Kelesidis 2023-06-08 00:03:12 +07:00
commit 0bc3903c9d
2 changed files with 8 additions and 14 deletions

View file

@ -1004,11 +1004,7 @@ function get_userdata($u, $force_name = false, $allow_guest = false)
function make_jumpbox($selected = 0)
{
global $datastore, $template, $bb_cfg;
if (!$bb_cfg['show_jumpbox']) {
return;
}
global $datastore, $template;
if (!$jumpbox = $datastore->get('jumpbox')) {
$datastore->update('jumpbox');