diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index 1892b216ef..8dab8ef3ce 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -1598,7 +1598,6 @@ function get_snmpwalk($ip_target, $snmp_version, $snmp_community = '', break; } - html_debug($command_str, true); exec($command_str, $output, $rc); // Parse the output of snmpwalk diff --git a/pandora_console/include/functions_db.php b/pandora_console/include/functions_db.php index faca98b40f..8244a000f7 100644 --- a/pandora_console/include/functions_db.php +++ b/pandora_console/include/functions_db.php @@ -1742,8 +1742,7 @@ function db_check_minor_relase_available_to_um ($package) { $exists = false; foreach ($sqlfiles_num as $num) { $file_dest = $config["homedir"] . "/extras/mr/updated/$num.sql"; - html_debug("AAAAA " . $file_dest, true); - html_debug(file_exists($file_dest), true); + if (file_exists($file_dest)) { $exists = true; unlink("$dir/$num.sql");