]> granicus.if.org Git - icinga2/commitdiff
Remove unnecessary host config update.
authorGunnar Beutner <gunnar.beutner@netways.de>
Thu, 28 Nov 2013 09:37:22 +0000 (10:37 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Thu, 28 Nov 2013 09:37:22 +0000 (10:37 +0100)
Refs #5235

lib/db_ido/servicedbobject.cpp

index 55be48822f604a8a4258c7c828658b4f054a86ff..4975947251ba4b2ca058cfbb9b438efe2be42646 100644 (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)