errata fix in mc environment detection UMC

This commit is contained in:
fbsanchez 2022-04-01 10:43:57 +02:00
parent e4c58fcb40
commit 0ef851ab7f
1 changed files with 1 additions and 2 deletions

View File

@ -284,7 +284,6 @@ $url_update_manager = null;
$homedir = sys_get_temp_dir(); $homedir = sys_get_temp_dir();
$dbconnection = null; $dbconnection = null;
$remote_config = null; $remote_config = null;
$is_metaconsole = false;
$insecure = false; $insecure = false;
$pandora_url = ui_get_full_url('/', false, false, false); $pandora_url = ui_get_full_url('/', false, false, false);
@ -405,7 +404,7 @@ $ui = new Manager(
'MR' => $mr, 'MR' => $mr,
'registration_code' => $puid, 'registration_code' => $puid,
'remote_config' => $remote_config, 'remote_config' => $remote_config,
'propagate_updates' => $is_metaconsole, 'propagate_updates' => is_metaconsole(),
'proxy' => $proxy, 'proxy' => $proxy,
'allowOfflinePatches' => $allowOfflinePatches, 'allowOfflinePatches' => $allowOfflinePatches,
'set_maintenance_mode' => function () { 'set_maintenance_mode' => function () {