From: Gunnar Beutner Date: Tue, 19 Nov 2013 15:34:31 +0000 (+0100) Subject: Fix another broken IDO query. X-Git-Tag: v0.0.5~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88ac76f2ca33e35fd606d8a8ccea496e6aa738ee;p=icinga2 Fix another broken IDO query. Refs #5088 --- diff --git a/lib/db_ido/servicedbobject.cpp b/lib/db_ido/servicedbobject.cpp index 72a736047..dbe1fc9d8 100644 --- a/lib/db_ido/servicedbobject.cpp +++ b/lib/db_ido/servicedbobject.cpp @@ -854,11 +854,6 @@ void ServiceDbObject::AddContactNotificationHistory(const Service::Ptr& service, query1.Fields = fields1; OnQuery(query1); - - if (host->GetCheckService() == service) { - query1.Fields = fields1; - OnQuery(query1); - } } void ServiceDbObject::AddNotificationHistory(const Service::Ptr& service, const std::set& users, NotificationType type,