summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/my_controller.rb1
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)