Julian Brost 0cef85cf83 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-25 15:59:55 +02:00
..
2020-06-09 12:03:02 +02:00
2020-02-11 16:47:50 +01:00
2019-11-02 14:00:23 +01:00
2019-04-09 11:26:34 +02:00