Remove unused Checkable#RemoveAllDowntimes()

This commit is contained in:
Alexander A. Klimov 2024-05-21 14:28:39 +02:00
parent cb945feb19
commit e2bdb8a2f1
2 changed files with 0 additions and 8 deletions

View File

@ -9,13 +9,6 @@
using namespace icinga;
void Checkable::RemoveAllDowntimes()
{
for (const Downtime::Ptr& downtime : GetDowntimes()) {
Downtime::RemoveDowntime(downtime->GetName(), true, true, true);
}
}
void Checkable::TriggerDowntimes(double triggerTime)
{
for (const Downtime::Ptr& downtime : GetDowntimes()) {

View File

@ -146,7 +146,6 @@ public:
/* Downtimes */
int GetDowntimeDepth() const final;
void RemoveAllDowntimes();
void TriggerDowntimes(double triggerTime);
bool IsInDowntime() const;
bool IsAcknowledged() const;