summaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-13 11:26:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-13 11:26:21 +0000
commit48c28f717df2864e021eb0cfed0d8094c4b205c9 (patch)
tree55eb81744e104cf226b5769d8b31c85270d6e9f2 /app/controllers/application_controller.rb
parent23a06ec0225442051a7c1043979a1a109d05142c (diff)
downloadredmine-48c28f717df2864e021eb0cfed0d8094c4b205c9.tar.gz
redmine-48c28f717df2864e021eb0cfed0d8094c4b205c9.zip
Removed delete_broken_cookies filter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9689 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 0cb6aa78a..c54bb4421 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -34,17 +34,6 @@ class ApplicationController < ActionController::Base
super
cookies.delete(:autologin)
end
- # Remove broken cookie after upgrade from 0.8.x (#4292)
- # See https://rails.lighthouseapp.com/projects/8994/tickets/3360
- # TODO: remove it when Rails is fixed
- before_filter :delete_broken_cookies
- def delete_broken_cookies
- if cookies['_redmine_session'] && cookies['_redmine_session'] !~ /--/
- cookies.delete '_redmine_session'
- redirect_to home_path
- return false
- end
- end
before_filter :user_setup, :check_if_login_required, :set_localization