Remove unnecessary check.

This commit is contained in:
Gunnar Beutner 2013-09-18 10:30:20 +02:00
parent e045ece3de
commit afbfdb2579

View File

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