Module: check_mk
Branch: master
Commit: 9cc115a3b9b84342ef86195129353804e9941580
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9cc115a3b9b843…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Mar 29 09:17:35 2012 +0200
FIX: Disabling notifications for users does work now
---
ChangeLog | 1 +
web/htdocs/wato.py | 17 +++++++++++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 40a95d1..51d510c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
* Also write out contact definitions for users without contactgroups to
have the mail addresses and other notification options persisted
* FIX: deletion of automation accounts now works
+ * FIX: Disabling notifications for users does work now
Multisite
* Added config option default_ts_format to configure default timestamp
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 090e090..90c2677 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -7239,9 +7239,22 @@ def save_users(profiles):
custom_values = [ name for (name, vs) in user_attributes ]
# Keys not to put into contact definitions for Check_MK
- non_contact_keys = [ "roles", "notifications_enabled",
"password", "locked", "automation_secret",
"language" ] + custom_values
+ non_contact_keys = [
+ "roles",
+ "password",
+ "locked",
+ "automation_secret",
+ "language",
+ ] + custom_values
+
# Keys to put into multisite configuration
- multisite_keys = [ "roles", "notifications_enabled",
"locked", "automation_secret", "alias",
"language", ] + custom_values
+ multisite_keys = [
+ "roles",
+ "locked",
+ "automation_secret",
+ "alias",
+ "language",
+ ] + custom_values
# Remove multisite keys in contacts.
contacts = dict(