From 764d96fcc673c1df28a8b2f2d4c49b9fe20f0c18 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Tue, 6 Jun 2023 12:03:59 +0200 Subject: [PATCH] #11461 Delete index warnings --- pandora_console/index.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/pandora_console/index.php b/pandora_console/index.php index 200ea7572c..43927ae948 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -1165,27 +1165,6 @@ if ((bool) ($config['maintenance_mode'] ?? false) === true exit(''); } -if (empty($_GET['sec']) === true) { - // PHP Version. - if (version_compare('8.1', PHP_VERSION) >= 0) { - ui_print_warning_message( - __( - 'You should update your PHP version because it will be out of official support.' - ).'
'.__('Current PHP version: ').PHP_VERSION - ); - } - - // MYSQL Version. - $mysql_version = explode(' ', mysqli_get_client_info())[1]; - if (version_compare('8.0', $mysql_version) >= 0) { - ui_print_warning_message( - __( - 'You should update your MYSQL version because it will be out of official support.' - ).'
'.__('Current MYSQL version: ').$mysql_version - ); - } -} - // Pure. if ($config['pure'] == 0) { // Menu container prepared to autohide menu.