Module: check_mk
Branch: master
Commit: 1f3b77cb81692a15f5d892e75808e81bca1b2829
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1f3b77cb81692a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Nov 12 15:41:23 2012 +0100
Fixed dynamic values of default user profile options
---
web/plugins/wato/check_mk_configuration.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index f7708ed..f7c12c0 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -430,13 +430,13 @@ register_configvar(group,
title = _('User Roles'),
help = _('Specify the initial roles of an automatically created
user.'),
default_value = [ 'user' ],
- choices = list_roles(),
+ choices = list_roles,
)),
('contactgroups', ListChoice(
title = _('Contact groups'),
help = _('Specify the initial contact groups of an automatically
created user.'),
default_value = [],
- choices = list_contactgroups(),
+ choices = list_contactgroups,
)),
],
optional_keys = [],