From: Gunnar Beutner Date: Thu, 12 Sep 2013 05:13:36 +0000 (+0200) Subject: Fix bug which causes timeperiods not to be updated. X-Git-Tag: v0.0.3~552 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b23c66ac8301dd862240afddc2e4d40d73ea766;p=icinga2 Fix bug which causes timeperiods not to be updated. --- diff --git a/lib/icinga/timeperiod.cpp b/lib/icinga/timeperiod.cpp index 25e803dee..f5d73f5ac 100644 --- a/lib/icinga/timeperiod.cpp +++ b/lib/icinga/timeperiod.cpp @@ -264,10 +264,6 @@ void TimePeriod::UpdateTimerHandler(void) double now = Utility::GetTime(); BOOST_FOREACH(const TimePeriod::Ptr& tp, DynamicType::GetObjects()) { - /* Only update time periods that have been defined on this node. */ - if (!ConfigItem::GetObject("TimePeriod", tp->GetName())) - continue; - double valid_end; {