Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/icinga/downtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ Downtime::Ptr Downtime::AddDowntime(const Checkable::Ptr& checkable, const Strin
const String& comment, double startTime, double endTime, bool fixed,
const Downtime::Ptr& parentDowntime, double duration,
const String& scheduledDowntime, const String& scheduledBy, const String& parent,
const String& id, const MessageOrigin::Ptr& origin)
const String& id)
{
String fullName;
String triggeredBy;
Expand Down
3 changes: 1 addition & 2 deletions lib/icinga/downtime.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ class Downtime final : public ObjectImpl<Downtime>
static Ptr AddDowntime(const intrusive_ptr<Checkable>& checkable, const String& author,
const String& comment, double startTime, double endTime, bool fixed,
const Ptr& parentDowntime, double duration, const String& scheduledDowntime = String(),
const String& scheduledBy = String(), const String& parent = String(), const String& id = String(),
const MessageOrigin::Ptr& origin = nullptr);
const String& scheduledBy = String(), const String& parent = String(), const String& id = String());

static void RemoveDowntime(const String& id, bool includeChildren, DowntimeRemovalReason removalReason,
const String& removedBy = "");
Expand Down
Loading