From 097e0bf4f42d4bccfd80c4e16e60ffcbbc177a99 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 23 Apr 2014 22:41:51 +0200 Subject: [PATCH] Fix duplicate service contacts. Fixes #6058 --- lib/db_ido/dbconnection.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/db_ido/dbconnection.cpp b/lib/db_ido/dbconnection.cpp index a4256626d..c06eebd10 100644 --- a/lib/db_ido/dbconnection.cpp +++ b/lib/db_ido/dbconnection.cpp @@ -370,14 +370,14 @@ void DbConnection::PrepareDatabase(void) //ClearConfigTable("hoststatus"); ClearConfigTable("programstatus"); ClearConfigTable("scheduleddowntime"); - //ClearConfigTable("service_contactgroups"); - //ClearConfigTable("service_contacts"); + ClearConfigTable("service_contactgroups"); + ClearConfigTable("service_contacts"); ClearConfigTable("servicedependencies"); - //ClearConfigTable("servicegroup_members"); + ClearConfigTable("servicegroup_members"); //ClearConfigTable("servicegroups"); //ClearConfigTable("services"); //ClearConfigTable("servicestatus"); - //ClearConfigTable("timeperiod_timeranges"); + ClearConfigTable("timeperiod_timeranges"); //ClearConfigTable("timeperiods"); BOOST_FOREACH(const DbType::Ptr& type, DbType::GetAllTypes()) {