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