#10598 remove show license and show always

This commit is contained in:
Jonathan 2023-07-14 12:39:13 +02:00
parent e6e4448ea9
commit 4407efecc0
1 changed files with 29 additions and 30 deletions

View File

@ -385,7 +385,6 @@ class WelcomeWindow extends Wizard
$flag_su = true;
}
$show_license = true;
if (enterprise_installed()) {
$license_valid = true;
enterprise_include_once('include/functions_license.php');
@ -405,7 +404,9 @@ class WelcomeWindow extends Wizard
$flag_lv = false;
}
} else {
$show_license = false;
$btn_license_valid_class = 'fail';
$li_license_valid_class = 'row_grey';
$flag_lv = false;
}
$inputs[] = [
@ -510,7 +511,6 @@ class WelcomeWindow extends Wizard
],
],
];
if ($show_license) {
$inputs[] = [
'wrapper' => 'div',
'block_id' => 'div_license_valid',
@ -539,7 +539,6 @@ class WelcomeWindow extends Wizard
],
],
];
}
} else {
$inputs[] = [
'wrapper' => 'div',