Remove unnecessary check.

This commit is contained in:
Gunnar Beutner 2013-09-18 10:30:20 +02:00
parent e045ece3de
commit afbfdb2579
1 changed files with 2 additions and 4 deletions

View File

@ -345,11 +345,9 @@ void Service::RemoveExpiredDowntimes(void)
}
}
if (!expiredDowntimes.empty()) {
BOOST_FOREACH(const String& id, expiredDowntimes) {
RemoveDowntime(id, false);
}
}
}
void Service::DowntimesExpireTimerHandler(void)