MCPcopy Create free account
hub / github.com/Icinga/icinga2 / NotificationUsersChangedHandler

Method NotificationUsersChangedHandler

lib/icingadb/icingadb-objects.cpp:3091–3095  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3089}
3090
3091void IcingaDB::NotificationUsersChangedHandler(const Notification::Ptr& notification, const Array::Ptr& oldValues, const Array::Ptr& newValues) {
3092 for (const IcingaDB::Ptr& rw : ConfigType::GetObjectsByType<IcingaDB>()) {
3093 rw->SendNotificationUsersChanged(notification, oldValues, newValues);
3094 }
3095}
3096
3097void IcingaDB::NotificationUserGroupsChangedHandler(const Notification::Ptr& notification, const Array::Ptr& oldValues, const Array::Ptr& newValues) {
3098 for (const IcingaDB::Ptr& rw : ConfigType::GetObjectsByType<IcingaDB>()) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected