Downtime::AddDowntime(): remove unused parameter const MessageOrigin::Ptr& origin

This commit is contained in:
Alexander A. Klimov 2026-01-23 10:41:18 +01:00
parent 519da9cf75
commit 92b6034504
2 changed files with 2 additions and 3 deletions

View file

@ -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;

View file

@ -56,8 +56,7 @@ public:
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 = "");