From 3d1e2e4c79677d19d38f86d04f220823b48007e3 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Wed, 3 Oct 2018 11:14:11 +0200 Subject: [PATCH] Removed unused code --- pandora_console/godmode/agentes/configurar_agente.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index b0999eb638..81c8dc714f 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -207,11 +207,6 @@ if ($create_agent) { $agent_creation_error = __('No agent alias specified'); $agent_created_ok = 0; } - /*elseif (agents_get_agent_id ($nombre_agente)) { - $agent_creation_error = - __('There is already an agent in the database with this name'); - $agent_created_ok = 0; - }*/ else { if($alias_as_name){ $sql = 'SELECT nombre FROM tagente WHERE nombre = "' . $alias . '"';