Private GIT

Skip to content
Snippets Groups Projects
Commit 05a367ff authored by rwerquin's avatar rwerquin
Browse files

Merge branch '2.7.x' of https://github.com/centreon/centreon into 2.7.x

parents bb74880b ddf68788
No related branches found
No related tags found
No related merge requests found
......@@ -825,11 +825,6 @@ class CentreonDowntime
$start_tomorrow = true;
}
$finish_tomorrow = false;
if ($period['end_time'] == '24:00') {
$finish_tomorrow = true;
}
if ($period['month_cycle'] == 'none') {
$dateOfMonth = $currentHostDate->format('j');
......@@ -895,9 +890,6 @@ class CentreonDowntime
}
$timestamp_stop->setTime($sEndTime[0], $sEndTime[1], '00');
if ($finish_tomorrow) {
$timestamp_stop->add(new DateInterval('P1D'));
}
$listSchedule[] = array($timestamp_start->format('c'), $timestamp_stop->format('c'));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment