diff options
author | Go MAEDA <maeda@farend.jp> | 2023-09-24 11:54:34 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-09-24 11:54:34 +0000 |
commit | 80880d9aaaf74eae50bdeea6ebabf7dab0723d4e (patch) | |
tree | 3ace139331c0fa53286d7eb91445f7aeb9435ddd /app/controllers | |
parent | edb84cf2b2e531e5ca421355fa60125915eb1adf (diff) | |
download | redmine-80880d9aaaf74eae50bdeea6ebabf7dab0723d4e.tar.gz redmine-80880d9aaaf74eae50bdeea6ebabf7dab0723d4e.zip |
Remove set_language_if_valid from MyController (#39066).
Patch by Pavel Rosický.
git-svn-id: https://svn.redmine.org/redmine/trunk@22320 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/my_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb index 9eaaa90e7..1d0ca617d 100644 --- a/app/controllers/my_controller.rb +++ b/app/controllers/my_controller.rb @@ -55,7 +55,6 @@ class MyController < ApplicationController @user.pref.safe_attributes = params[:pref] if @user.save @user.pref.save - set_language_if_valid @user.language respond_to do |format| format.html do flash[:notice] = l(:notice_account_updated) |