Remove unnecessary host config update.

Refs #5235
This commit is contained in:
Gunnar Beutner 2013-11-28 10:37:22 +01:00
parent 6d53bd1c8f
commit 5daedd2dea
1 changed files with 0 additions and 13 deletions

View File

@ -303,19 +303,6 @@ void ServiceDbObject::OnConfigUpdate(void)
/* update comments and downtimes on config change */
AddComments(service);
AddDowntimes(service);
/* service host config update */
Host::Ptr host = service->GetHost();
if (host->GetCheckService() != service)
return;
DbObject::Ptr dbobj = GetOrCreateByObject(host);
if (!dbobj)
return;
dbobj->SendConfigUpdate();
}
void ServiceDbObject::OnStatusUpdate(void)