Julian Brost 5b5efab847 Properly handle service downtime referencing a deleted host
Only two out of three cases were handled properly by the code: host
downtimes referencing a deleted host and service downtimes referencing a
deleted service worked fine. However, if a service downtime references a
deleted host, `Host::GetByName()` returns `nullptr` which isn't
accounted for. Use `Service::GetByNamePair()` instead as this performs a
check for the host being null internally.
2021-05-26 08:54:01 +02:00
..
2019-07-09 16:38:50 +02:00
2020-06-03 16:21:01 +02:00
2019-04-09 11:26:34 +02:00
2019-04-09 11:26:34 +02:00