DB IDO: Remove check_command_args column

The populated value is not entirely correct, and pulls in lots
of compat code.
This commit is contained in:
Michael Friedrich 2017-12-21 09:41:49 +01:00
parent 9de233630a
commit e5462ea3d1
2 changed files with 0 additions and 2 deletions

View File

@ -62,7 +62,6 @@ Dictionary::Ptr HostDbObject::GetConfigFields() const
fields->Set("address6", host->GetAddress6()); fields->Set("address6", host->GetAddress6());
fields->Set("check_command_object_id", host->GetCheckCommand()); fields->Set("check_command_object_id", host->GetCheckCommand());
fields->Set("check_command_args", CompatUtility::GetCheckableCommandArgs(host));
fields->Set("eventhandler_command_object_id", host->GetEventCommand()); fields->Set("eventhandler_command_object_id", host->GetEventCommand());
fields->Set("eventhandler_command_args", Empty); fields->Set("eventhandler_command_args", Empty);
fields->Set("notification_timeperiod_object_id", Empty); fields->Set("notification_timeperiod_object_id", Empty);

View File

@ -57,7 +57,6 @@ Dictionary::Ptr ServiceDbObject::GetConfigFields() const
fields->Set("host_object_id", host); fields->Set("host_object_id", host);
fields->Set("display_name", service->GetDisplayName()); fields->Set("display_name", service->GetDisplayName());
fields->Set("check_command_object_id", service->GetCheckCommand()); fields->Set("check_command_object_id", service->GetCheckCommand());
fields->Set("check_command_args", CompatUtility::GetCheckableCommandArgs(service));
fields->Set("eventhandler_command_object_id", service->GetEventCommand()); fields->Set("eventhandler_command_object_id", service->GetEventCommand());
fields->Set("eventhandler_command_args", Empty); fields->Set("eventhandler_command_args", Empty);
fields->Set("notification_timeperiod_object_id", Empty); fields->Set("notification_timeperiod_object_id", Empty);