[icinga-checkins] icinga.org: icinga2/master: DB IDO: Do not try to delete downtimes when using the session_token

git at icinga.org git at icinga.org
Wed Aug 3 16:16:11 CEST 2016


Module: icinga2
Branch: master
Commit: 00f05a8e7e0f092367ea66cb6dd2763c21f845fe
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=00f05a8e7e0f092367ea66cb6dd2763c21f845fe

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Aug  3 16:15:22 2016 +0200

DB IDO: Do not try to delete downtimes when using the session_token

Missed it after modifying the comments.

refs #12258
refs #12288

---

 lib/db_ido/dbevents.cpp |    1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/db_ido/dbevents.cpp b/lib/db_ido/dbevents.cpp
index 847a760..b3444ed 100644
--- a/lib/db_ido/dbevents.cpp
+++ b/lib/db_ido/dbevents.cpp
@@ -464,7 +464,6 @@ void DbEvents::AddDowntimes(const Checkable::Ptr& checkable)
 void DbEvents::AddDowntime(const Downtime::Ptr& downtime)
 {
 	std::vector<DbQuery> queries;
-	RemoveDowntimeInternal(queries, downtime);
 	AddDowntimeInternal(queries, downtime, false);
 	DbObject::OnMultipleQueries(queries);
 }



More information about the icinga-checkins mailing list