mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-16 10:14:28 +02:00
parent
9dcb33e8f4
commit
55616209ae
@ -222,12 +222,13 @@ void ConfigObject::ModifyAttribute(const String& attr, const Value& value, bool
|
|||||||
|
|
||||||
SetField(fid, newValue);
|
SetField(fid, newValue);
|
||||||
|
|
||||||
|
if (updated_original_attributes) {
|
||||||
if (updateVersion)
|
if (updateVersion)
|
||||||
SetVersion(Utility::GetTime());
|
SetVersion(Utility::GetTime());
|
||||||
|
|
||||||
if (updated_original_attributes)
|
|
||||||
NotifyOriginalAttributes();
|
NotifyOriginalAttributes();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void ConfigObject::RestoreAttribute(const String& attr)
|
void ConfigObject::RestoreAttribute(const String& attr)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user