Remove debug traces

This commit is contained in:
m-lopez-f 2017-03-03 13:27:02 +01:00
parent b8f6b9fad4
commit 0b943fcf08
5 changed files with 2 additions and 31 deletions

View File

@ -181,10 +181,6 @@ function extension_db_check_tables_differences($connection_test,
$diff_tables = array_diff($tables_test, $tables_system);
//~ html_debug_print($tables_test);
//~ html_debug_print($tables_system);
//~ html_debug_print($diff_tables);
ui_print_result_message(
empty($diff_tables),
__('Successful the DB Pandora has all tables'),

View File

@ -221,7 +221,7 @@ $table->data[2][0] .= html_print_image('images/spinner.png', true);
$table->data[2][0] .= '</span>';
$agents_alerts = alerts_get_agents_with_alert_template ($id_alert_template, $id_group,
false, array ('tagente.alias', 'tagente.id_agente'));
html_debug($agents_alerts);
$table->data[2][1] = html_print_select (index_array ($agents_alerts, 'id_agente', 'alias'),
'id_agents[]', '', '', '', '', true, true, true, '', $id_alert_template == 0);
$table->data[2][2] = __('When select agents');

View File

@ -346,11 +346,8 @@ function postgresql_db_process_sql_insert($table, $values) {
}
$query .= '(' . implode(', ', $fields) . ')';
$query .= ' VALUES (' . $values_str . ')';
//html_debug_print($query);
return db_process_sql($query, 'insert_id');
}

View File

@ -6086,7 +6086,6 @@ function api_set_update_group($id_group, $thrash2, $other, $thrash3) {
return;
}
//html_debug_print($other);
$name = $other['data'][0];
$icon = $other['data'][1];
$parent = $other['data'][2];
@ -7853,9 +7852,8 @@ function get_events_with_user($trash1, $trash2, $other, $returnType, $user_in_db
else if ($other['type'] == 'array') {
$separator = $other['data'][0];
}
//html_debug_print($filter, true);
$result = db_get_all_rows_sql ($sql);
//html_debug_print($sql, true);
if (($result !== false) &&
(!$filter['total']) &&
@ -7911,8 +7909,6 @@ function get_events_with_user($trash1, $trash2, $other, $returnType, $user_in_db
}
}
//html_debug_print($result);
$data['type'] = 'array';
$data['data'] = $result;

View File

@ -250,11 +250,6 @@ function update_manager_check_online_free_packages_available() {
$http_status = curl_getinfo($curlObj, CURLINFO_HTTP_CODE);
curl_close($curlObj);
//~ html_debug_print("----------", true);
//~ html_debug_print($params, true);
//~ html_debug_print($http_status, true);
//~ html_debug_print($result, true);
if ($result === false) {
return false;
}
@ -316,11 +311,6 @@ function update_manager_check_online_free_packages ($is_ajax=true) {
$http_status = curl_getinfo($curlObj, CURLINFO_HTTP_CODE);
curl_close($curlObj);
//~ html_debug_print("=============", true);
//~ html_debug_print($params, true);
//~ html_debug_print($http_status, true);
//~ html_debug_print($result, true);
if ($result === false) {
if ($is_ajax) {
echo __("Could not connect to internet");
@ -412,10 +402,6 @@ function update_manager_curl_request ($action, $additional_params = false) {
curl_close($curlObj);
$error_array['http_status'] = $http_status;
//~ html_debug_print("=============", true);
//~ html_debug_print($params, true);
//~ html_debug_print($http_status, true);
//~ html_debug_print($result, true);
if ($result === false) {
$error_array['success'] = false;
@ -591,10 +577,6 @@ function update_manager_remote_read_messages ($id_message) {
$result = update_manager_curl_request ('mark_as_read', $params);
//if (!$result['success']) {
// html_debug ($result['update_message'], true);
//}
return $result['success'];
}