From 2f8be2178a3d5efdf8ac9c20472999e931067f80 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 22 Dec 2010 16:58:39 +0000 Subject: [PATCH] 2010-12-22 Sergio Martin * util/pandora_manage.pl: Fixed duplicate module creation into config file git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3686 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/util/pandora_manage.pl | 3 +++ 2 files changed, 8 insertions(+) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 0f570bfebc..7e7ed108e7 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2010-12-22 Sergio Martin + + * util/pandora_manage.pl: Fixed duplicate module creation + into config file + 2010-12-22 Ramon Novoa * lib/PandoraFMS/Core.pm: Fixed day name array. 0 corresponds diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index 22dea5ada6..935b0680fc 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -1389,6 +1389,9 @@ sub pandora_manage_main ($$$) { enterprise_hook('pandora_delete_collection_agent_from_info',[$conf, $agent_name, $policy_id]); enterprise_hook('pandora_create_collection_conf_info',[$conf, $policy_name, $collection_data,$agent_name,$dbh]); } + + $configuration_data = ''; + $collection_data = ''; } # Get extern policy alerts and create it on modules