From: Michael M Slusarz Date: Fri, 9 Jul 2010 21:20:07 +0000 (-0600) Subject: Revert "Reuse existing code" X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=24c7f313a657fb95f3a995f77c1079d25d0c9f42;p=horde.git Revert "Reuse existing code" This reverts commit a78f6933f4a0d2f80e7a3952c15bbe8f436815ea. --- 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); } /**