mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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:
parent
88975a8e07
commit
00f05a8e7e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user