From 5daedd2dea0fd3a069e890048c80302b3d7012da Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 28 Nov 2013 10:37:22 +0100 Subject: [PATCH] Remove unnecessary host config update. Refs #5235 --- lib/db_ido/servicedbobject.cpp | 13 ------------- 1 file changed, 13 deletions(-) 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) -- 2.49.0