mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-19 19:54:34 +02:00
parent
9dcb33e8f4
commit
55616209ae
@ -222,12 +222,13 @@ void ConfigObject::ModifyAttribute(const String& attr, const Value& value, bool
|
||||
|
||||
SetField(fid, newValue);
|
||||
|
||||
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