| 3075 | } |
| 3076 | |
| 3077 | void IcingaDB::AcknowledgementClearedHandler(const Checkable::Ptr& checkable, const String& removedBy, double changeTime) |
| 3078 | { |
| 3079 | auto rws (ConfigType::GetObjectsByType<IcingaDB>()); |
| 3080 | |
| 3081 | if (!rws.empty()) { |
| 3082 | auto rb (Shared<String>::Make(removedBy)); |
| 3083 | auto ackLastChange (checkable->GetAcknowledgementLastChange()); |
| 3084 | |
| 3085 | for (auto& rw : rws) { |
| 3086 | rw->SendAcknowledgementCleared(checkable, *rb, changeTime, ackLastChange); |
| 3087 | } |
| 3088 | } |
| 3089 | } |
| 3090 | |
| 3091 | void IcingaDB::NotificationUsersChangedHandler(const Notification::Ptr& notification, const Array::Ptr& oldValues, const Array::Ptr& newValues) { |
| 3092 | for (const IcingaDB::Ptr& rw : ConfigType::GetObjectsByType<IcingaDB>()) { |
nothing calls this directly
no test coverage detected