mirror of https://github.com/Icinga/icinga2.git
Merge pull request #8626 from Icinga/bugfix/recreate-object-invisible-ido-8584
Ido*sqlConnection#InternalDeactivateObject(): mark object inactive also in memory
This commit is contained in:
commit
b7efbd0bba
|
@ -829,6 +829,8 @@ void IdoMysqlConnection::InternalDeactivateObject(const DbObject::Ptr& dbobj)
|
|||
|
||||
/* Note that we're _NOT_ clearing the db refs via SetReference/SetConfigUpdate/SetStatusUpdate
|
||||
* because the object is still in the database. */
|
||||
|
||||
SetObjectActive(dbobj, false);
|
||||
}
|
||||
|
||||
bool IdoMysqlConnection::FieldToEscapedString(const String& key, const Value& value, Value *result)
|
||||
|
|
|
@ -643,6 +643,8 @@ void IdoPgsqlConnection::InternalDeactivateObject(const DbObject::Ptr& dbobj)
|
|||
|
||||
/* Note that we're _NOT_ clearing the db refs via SetReference/SetConfigUpdate/SetStatusUpdate
|
||||
* because the object is still in the database. */
|
||||
|
||||
SetObjectActive(dbobj, false);
|
||||
}
|
||||
|
||||
bool IdoPgsqlConnection::FieldToEscapedString(const String& key, const Value& value, Value *result)
|
||||
|
|
Loading…
Reference in New Issue