mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 21:33:54 -07:00
Revert "Generate jumpbox files only if enabled (#764)"
This reverts commit ce9c3d9b47
.
This commit is contained in:
parent
4c725f6246
commit
0bc3903c9d
2 changed files with 8 additions and 14 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue