From 2b23c66ac8301dd862240afddc2e4d40d73ea766 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 12 Sep 2013 07:13:36 +0200 Subject: [PATCH] Fix bug which causes timeperiods not to be updated. --- lib/icinga/timeperiod.cpp | 4 ---- 1 file changed, 4 deletions(-) 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; {