Module: check_mk
Branch: master
Commit: fba269828c767fddb02b5fd1c7a215f66c36587a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fba269828c767f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 19 15:10:42 2013 +0100
FIX: Fixed wrong localization right after a user changed its language
---
ChangeLog | 1 +
web/htdocs/index.py | 1 +
web/htdocs/wato.py | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b880071..f41bdf3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,7 @@
1.2.2b4:
Multisite:
* FIX: Fixed problem with error during localization scanning
+ * FIX: Fixed wrong localization right after a user changed its language
Checks & Agents:
* Linux agent: limit netstat to 10 seconds
diff --git a/web/htdocs/index.py b/web/htdocs/index.py
index 4eb1506..ffd836c 100644
--- a/web/htdocs/index.py
+++ b/web/htdocs/index.py
@@ -186,6 +186,7 @@ def load_all_plugins():
pass
except Exception:
raise
+__builtin__.load_all_plugins = load_all_plugins
# Main entry point for all HTTP-requests (called directly by mod_apache)
def handler(req, profiling = True):
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 9be34bf..8b920ca 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -10863,6 +10863,7 @@ def page_user_profile():
# load the new language
load_language(config.get_language())
+ load_all_plugins()
user = users.get(config.user_id)
if config.may('general.edit_notifications') and
user.get("notifications_enabled"):