Revert "Fixed SLA monthly limited ranges" because it will cause conflicts with modules in unknown state
This reverts commit b46b9db075
.
This commit is contained in:
parent
ef787b9b4a
commit
480a1f3f9c
|
@ -487,7 +487,7 @@ function reporting_get_agentmodule_sla_day ($id_agent_module, $period = 0, $min_
|
||||||
$interval_data = db_get_all_rows_sql ($sql, $search_in_history_db);
|
$interval_data = db_get_all_rows_sql ($sql, $search_in_history_db);
|
||||||
|
|
||||||
if ($interval_data === false) {
|
if ($interval_data === false) {
|
||||||
return false;
|
$interval_data = array ();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calculate planned downtime dates
|
// Calculate planned downtime dates
|
||||||
|
|
Loading…
Reference in New Issue