From d551678d95930be5561fe5a06d445e8d5d0bd51f Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Wed, 25 Jan 2023 17:41:02 +0100 Subject: [PATCH] Revert "minor change" This reverts commit a0717109347cefed809fd1c537704447993f8794. --- pandora_console/godmode/servers/servers.build_table.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pandora_console/godmode/servers/servers.build_table.php b/pandora_console/godmode/servers/servers.build_table.php index f4de7b67fd..9629dccb22 100644 --- a/pandora_console/godmode/servers/servers.build_table.php +++ b/pandora_console/godmode/servers/servers.build_table.php @@ -110,13 +110,6 @@ foreach ($servers as $server) { ]; $data[0] = ''.strip_tags($server['name']).''; - $server_keepalive = time_w_fixed_tz($server['keepalive']); - - if ($server['server_keepalive_utimestamp'] > 0) { - $server_keepalive = $server['server_keepalive_utimestamp']; - } - - // Status. $data[1] = ui_print_status_image(STATUS_SERVER_OK, '', true); if ($server['status'] == -1) { @@ -126,7 +119,7 @@ foreach ($servers as $server) { true ); } else if ((int) ($server['status'] === 0) - || (($date - $server_keepalive) > ($server['server_keepalive']) * 2) + || (($date - time_w_fixed_tz($server['keepalive'])) > ($server['server_keepalive']) * 2) ) { $data[1] = ui_print_status_image( STATUS_SERVER_DOWN,