Fix bug which causes timeperiods not to be updated.

This commit is contained in:
Gunnar Beutner 2013-09-12 07:13:36 +02:00
parent 4c23245898
commit 2b23c66ac8
1 changed files with 0 additions and 4 deletions

View File

@ -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;
{