mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-03 13:58:23 -04:00
parent
9dcb33e8f4
commit
55616209ae
1 changed files with 4 additions and 3 deletions
|
|
@ -222,11 +222,12 @@ void ConfigObject::ModifyAttribute(const String& attr, const Value& value, bool
|
|||
|
||||
SetField(fid, newValue);
|
||||
|
||||
if (updateVersion)
|
||||
SetVersion(Utility::GetTime());
|
||||
if (updated_original_attributes) {
|
||||
if (updateVersion)
|
||||
SetVersion(Utility::GetTime());
|
||||
|
||||
if (updated_original_attributes)
|
||||
NotifyOriginalAttributes();
|
||||
}
|
||||
}
|
||||
|
||||
void ConfigObject::RestoreAttribute(const String& attr)
|
||||
|
|
|
|||
Loading…
Reference in a new issue