mirror of https://github.com/Icinga/icinga2.git
Fix bug which causes timeperiods not to be updated.
This commit is contained in:
parent
4c23245898
commit
2b23c66ac8
|
@ -264,10 +264,6 @@ void TimePeriod::UpdateTimerHandler(void)
|
|||
double now = Utility::GetTime();
|
||||
|
||||
BOOST_FOREACH(const TimePeriod::Ptr& tp, DynamicType::GetObjects<TimePeriod>()) {
|
||||
/* Only update time periods that have been defined on this node. */
|
||||
if (!ConfigItem::GetObject("TimePeriod", tp->GetName()))
|
||||
continue;
|
||||
|
||||
double valid_end;
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue