From 93d7cc52530e71bcd28342199a7558039cbc9fd1 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Thu, 22 Dec 2016 11:35:21 +0100 Subject: [PATCH] Remove debugging code. --- pandora_server/lib/PandoraFMS/DataServer.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pandora_server/lib/PandoraFMS/DataServer.pm b/pandora_server/lib/PandoraFMS/DataServer.pm index a9883ea605..1dc530f0b8 100644 --- a/pandora_server/lib/PandoraFMS/DataServer.pm +++ b/pandora_server/lib/PandoraFMS/DataServer.pm @@ -575,11 +575,7 @@ sub process_xml_data ($$$$$) { # No parent module defined my $parent_module_name = get_tag_value ($module_data, 'module_parent', undef); - if (! defined ($parent_module_name)) { - use Data::Dumper; - print Dumper($module_data); - next; - } + next if (! defined ($parent_module_name)); link_modules($pa_config, $dbh, $agent_id, $module_name, $parent_module_name); }