From 9bcbc8f4f8ec8cd1464b627d09bf4d0381239c00 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 13 Mar 2015 13:46:00 +0100 Subject: [PATCH] Don't update custom vars for each status update fixes #8736 --- lib/db_ido/dbobject.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/db_ido/dbobject.cpp b/lib/db_ido/dbobject.cpp index 7b3068833..b27493643 100644 --- a/lib/db_ido/dbobject.cpp +++ b/lib/db_ido/dbobject.cpp @@ -78,10 +78,11 @@ DbType::Ptr DbObject::GetType(void) const void DbObject::SendConfigUpdate(void) { - /* update custom var config for all objects */ + /* update custom var config and status */ SendVarsConfigUpdate(); + SendVarsStatusUpdate(); - /* config objects */ + /* config attributes */ Dictionary::Ptr fields = GetConfigFields(); if (!fields) @@ -108,10 +109,7 @@ void DbObject::SendConfigUpdate(void) void DbObject::SendStatusUpdate(void) { - /* update custom var status for all objects */ - SendVarsStatusUpdate(); - - /* status objects */ + /* status attributes */ Dictionary::Ptr fields = GetStatusFields(); if (!fields)