Revert "Don't update insert ID for status updates."

This reverts commit 51a613d0a6.
This commit is contained in:
Gunnar Beutner 2013-08-02 09:57:45 +02:00
parent 51a613d0a6
commit 9b70b7eb14
1 changed files with 1 additions and 0 deletions

View File

@ -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();