From c2347b6b977899cc8bbcb2fcca1dbd470f801c15 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 29 Feb 2016 23:46:58 +0100 Subject: [PATCH] IcingaNotification: use external sets --- library/Director/Objects/IcingaNotification.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/library/Director/Objects/IcingaNotification.php b/library/Director/Objects/IcingaNotification.php index b9bf8cd4..c0259323 100644 --- a/library/Director/Objects/IcingaNotification.php +++ b/library/Director/Objects/IcingaNotification.php @@ -29,7 +29,10 @@ class IcingaNotification extends IcingaObject protected $supportsApplyRules = true; - protected $supportsNotificationFilters = false; // -> true + protected $relatedSets = array( + 'states' => 'StateFilterSet', + 'types' => 'TypeFilterSet', + ); protected $relations = array( 'zone' => 'IcingaZone',