From: Gunnar Beutner Date: Thu, 28 Nov 2013 09:37:22 +0000 (+0100) Subject: Remove unnecessary host config update. X-Git-Tag: v0.0.5~14^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5daedd2dea0fd3a069e890048c80302b3d7012da;p=icinga2 Remove unnecessary host config update. Refs #5235 --- diff --git a/lib/db_ido/servicedbobject.cpp b/lib/db_ido/servicedbobject.cpp index 55be48822..497594725 100644 --- a/lib/db_ido/servicedbobject.cpp +++ b/lib/db_ido/servicedbobject.cpp @@ -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)