Merge branch 'ent-11026-si-el-token-automatically-check-for-updates-esta-desactivado-no-debe-mostrar-aviso-para' into 'develop'

Ent 11026 si el token automatically check for updates esta desactivado no debe mostrar aviso para

See merge request artica/pandorafms!6392
This commit is contained in:
Matias Didier 2023-11-27 12:24:45 +00:00
commit 9919de1d66
2 changed files with 14 additions and 11 deletions

View File

@ -2378,6 +2378,7 @@ class ConsoleSupervisor
include_once $config['homedir'].'/include/functions_update_manager.php'; include_once $config['homedir'].'/include/functions_update_manager.php';
$login = get_parameter('login', false); $login = get_parameter('login', false);
if ($config['autoupdate'] === '1' || $_GET['sec2'] === 'godmode/update_manager/update_manager') {
if (update_manager_verify_registration() === false) { if (update_manager_verify_registration() === false) {
$this->notify( $this->notify(
[ [
@ -2391,6 +2392,7 @@ class ConsoleSupervisor
$this->cleanNotifications('NOTIF.UPDATEMANAGER.REGISTRATION'); $this->cleanNotifications('NOTIF.UPDATEMANAGER.REGISTRATION');
} }
} }
}
/** /**

View File

@ -4933,6 +4933,7 @@ div#dialog_messages table th:last-child {
margin-top: 55px; margin-top: 55px;
border-radius: 5px; border-radius: 5px;
max-height: 530px; max-height: 530px;
position: fixed;
} }
#notification-wrapper::before { #notification-wrapper::before {