From 24c7f313a657fb95f3a995f77c1079d25d0c9f42 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 9 Jul 2010 15:20:07 -0600 Subject: [PATCH] Revert "Reuse existing code" This reverts commit a78f6933f4a0d2f80e7a3952c15bbe8f436815ea. --- framework/Core/lib/Horde/Registry.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index c8b6151ce..3f2f07fd7 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -2024,7 +2024,8 @@ class Horde_Registry $this->setAuthCredential($credentials, null, $app); /* Reload preferences for the new user. */ - $this->_onAppSwitch($app); + $this->loadPrefs(); + Horde_Nls::setLanguageEnvironment($GLOBALS['prefs']->getValue('language'), $app); } /** -- 2.11.0