Module: check_mk
Branch: master
Commit: 1eb7f66c9878e56093610d60e55140513609f0e1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1eb7f66c9878e5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jan 24 16:19:38 2014 +0100
Fix WATO Snapin error message if WATO is disabled
---
web/plugins/sidebar/wato.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/web/plugins/sidebar/wato.py b/web/plugins/sidebar/wato.py
index 418af3f..487a34a 100644
--- a/web/plugins/sidebar/wato.py
+++ b/web/plugins/sidebar/wato.py
@@ -37,6 +37,7 @@ import config, wato
def render_wato(mini):
if not config.wato_enabled:
html.write(_("WATO is disabled in
<tt>multisite.mk</tt>."))
+ return False
elif not config.may("wato.use"):
html.write(_("You are not allowed to use Check_MK's web configuration
GUI."))
return False