mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Remove unnecessary check.
This commit is contained in:
parent
e045ece3de
commit
afbfdb2579
@ -345,10 +345,8 @@ void Service::RemoveExpiredDowntimes(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (!expiredDowntimes.empty()) {
|
||||
BOOST_FOREACH(const String& id, expiredDowntimes) {
|
||||
RemoveDowntime(id, false);
|
||||
}
|
||||
BOOST_FOREACH(const String& id, expiredDowntimes) {
|
||||
RemoveDowntime(id, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user