]> granicus.if.org Git - icinga2/commitdiff
Fix another broken IDO query.
authorGunnar Beutner <gunnar@beutner.name>
Tue, 19 Nov 2013 15:34:31 +0000 (16:34 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 19 Nov 2013 15:34:41 +0000 (16:34 +0100)
Refs #5088

lib/db_ido/servicedbobject.cpp

index 72a7360476d245e29764ee15bcac9bf6b71643a0..dbe1fc9d898bd4e6fec0cbc5068a41854da0931a 100644 (file)
@@ -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<User::Ptr>& users, NotificationType type,