mirror of https://github.com/Icinga/icinga2.git
Revert "Don't update insert ID for status updates."
This reverts commit 51a613d0a6
.
This commit is contained in:
parent
51a613d0a6
commit
9b70b7eb14
|
@ -112,6 +112,7 @@ 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