mirror of https://github.com/Icinga/icinga2.git
Don't update insert ID for status updates.
This commit is contained in:
parent
1f3e92f2e7
commit
51a613d0a6
|
@ -112,7 +112,6 @@ void DbObject::SendStatusUpdate(void)
|
|||
query.Fields->Set("status_update_time", DbValue::FromTimestamp(Utility::GetTime()));
|
||||
query.WhereCriteria = boost::make_shared<Dictionary>();
|
||||
query.WhereCriteria->Set(GetType()->GetIDColumn(), GetObject());
|
||||
query.Object = GetSelf();
|
||||
OnQuery(query);
|
||||
|
||||
m_LastStatusUpdate = Utility::GetTime();
|
||||
|
|
Loading…
Reference in New Issue