mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
9dcb33e8f4
commit
55616209ae
@ -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…
x
Reference in New Issue
Block a user