]> granicus.if.org Git - icinga2/commitdiff
Change default value for enable_notifications
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 9 Jul 2014 13:23:43 +0000 (15:23 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 9 Jul 2014 13:23:43 +0000 (15:23 +0200)
fixes #6681

lib/icinga/user.ti

index 649e9fda24f93601e13b6501cfbfb0ebbccb1154..f18546ef8e9168a4c328c74d9deefc93b44619c7 100644 (file)
@@ -26,7 +26,9 @@ class User : CustomVarObject
        [config] String email;
        [config] String pager;
 
-       [state] bool enable_notifications;
+       [state] bool enable_notifications {
+               default {{{ return true; }}}
+       };
        [state] double last_notification;
 };