Don't update custom vars for each status update

fixes #8736
This commit is contained in:
Gunnar Beutner 2015-03-13 13:46:00 +01:00
parent 6155dd2e7d
commit 9bcbc8f4f8
1 changed files with 4 additions and 6 deletions

View File

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