summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/settings/save_prefs.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-30 08:21:42 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-30 08:21:42 +0000
commita1fc1907825607e103b8706d6d05bf8f29b1e8e2 (patch)
tree0a07ffb263323c5416e5ff989af67f77bdc24a92 /roundcubemail/program/steps/settings/save_prefs.inc
parente3b2d6e67b8409bdd1fe508e3410ad465cc1531c (diff)
Next step: introduce the application class 'rcmail' and get rid of some global vars
git-svn-id: https://svn.roundcube.net/trunk@1344 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/save_prefs.inc')
-rw-r--r--roundcubemail/program/steps/settings/save_prefs.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/roundcubemail/program/steps/settings/save_prefs.inc b/roundcubemail/program/steps/settings/save_prefs.inc
index 9ee30a616..8025ad8ed 100644
--- a/roundcubemail/program/steps/settings/save_prefs.inc
+++ b/roundcubemail/program/steps/settings/save_prefs.inc
@@ -39,10 +39,7 @@ foreach ((array)$CONFIG['dont_override'] as $p)
// switch UI language
if (isset($_POST['_language']))
- {
- $sess_user_lang = $_SESSION['user_lang'] = get_input_value('_language', RCUBE_INPUT_POST);
- rcmail_set_locale($sess_user_lang);
- }
+ $_SESSION['language'] = get_input_value('_language', RCUBE_INPUT_POST);
// force min size
if ($a_user_prefs['pagesize'] < 1)