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

Missed it after modifying the comments.

refs #12258
refs #12288
This commit is contained in:
Michael Friedrich 2016-08-03 16:15:22 +02:00
parent 88975a8e07
commit 00f05a8e7e
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}