From 271a578cd86267bd554e2f8b6ea96f5fb85d9c46 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Thu, 12 Apr 2012 09:08:08 +0000 Subject: [PATCH] 2012-04-12 Sergio Martin * include/functions_agents.php: Fixed pendigdelete rename of the modules when the agent is erased for bug 3509327 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/include/functions_agents.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e19e5e6a75..f341da3262 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2012-04-12 Sergio Martin + + * include/functions_agents.php: Fixed pendigdelete + rename of the modules when the agent is erased for + bug 3509327 + 2012-04-11 Sergio Martin * operation/events/sound_events.php: Fixed bad name in diff --git a/pandora_console/include/functions_agents.php b/pandora_console/include/functions_agents.php index 893dbbe24a..7b15c4852c 100644 --- a/pandora_console/include/functions_agents.php +++ b/pandora_console/include/functions_agents.php @@ -1752,7 +1752,7 @@ function agents_delete_agent ($id_agents, $disableACL = false) { // db_process_delete_temp ("tagente_modulo", "id_agente", $id_agent); db_process_sql_update ('tagente_modulo', - array ('delete_pending' => 1, 'disabled' => 1), + array ('delete_pending' => 1, 'disabled' => 1, 'nombre' => 'pendingdelete'), 'id_agente = '. $id_agent); // Access entries