Some fixes found when merge the new report items into the feature/#1978-REESCRITURA_DEL_MOTOR_DE_INFORMES branch.

This commit is contained in:
mdtrooper 2015-04-10 01:12:38 +02:00
parent f06b400e4d
commit 6873ecbc29
2 changed files with 0 additions and 11 deletions

View File

@ -1379,8 +1379,6 @@ function modules_get_count_datas($id_agent_module, $date_init, $date_end) {
// TODO REMOVE THE TIME IN PLANNED DOWNTIME
//MIRAR SI ESTA ANTES DEL TIEMPO EL MODULO
if (!is_numeric($date_init)) {
$date_init = strtotime($date_init);
}

View File

@ -400,11 +400,6 @@ function reporting_get_agentmodule_data_sum ($id_agent_module,
return $total;
}
function reporting_get_agentmodule_availability($id_agent_module, $period = 0, $timeFrom = null, $timeTo = null) {
global $config;
}
/**
* Get SLA of a module.
*
@ -5472,10 +5467,6 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
$count_fails * modules_get_interval($item['id_agent_module']),
true);
}
$availability_data =
reporting_get_agentmodule_availability(
$item['id_agent_module']);
}
$data[] = $row;