Some fixes found when merge the new report items into the feature/#1978-REESCRITURA_DEL_MOTOR_DE_INFORMES branch.
This commit is contained in:
parent
f06b400e4d
commit
6873ecbc29
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue