Skip to content

Commit

Permalink
Remove unused Checkable#RemoveAllDowntimes()
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Sep 17, 2024
1 parent e1fb9f5 commit a162061
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions lib/icinga/checkable-downtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down
1 change: 0 additions & 1 deletion lib/icinga/checkable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ class Checkable : public ObjectImpl<Checkable>
/* Downtimes */
int GetDowntimeDepth() const final;

void RemoveAllDowntimes();
void TriggerDowntimes(double triggerTime);
bool IsInDowntime() const;
bool IsAcknowledged() const;
Expand Down

0 comments on commit a162061

Please sign in to comment.