Merge pull request #10066 from Icinga/Checkable-RemoveAllDowntimes

Remove unused Checkable#RemoveAllDowntimes()
This commit is contained in:
Yonas Habteab 2024-05-21 17:13:16 +02:00 committed by GitHub
commit 3d64240ee3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;