]> source.dussan.org Git - redmine.git/commitdiff
Merged r9689 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 13 May 2012 11:27:09 +0000 (11:27 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 13 May 2012 11:27:09 +0000 (11:27 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9690 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/application_controller.rb

index 734b2d81f5ed30ebbce095f9d495bbad3776ffbb..2ed4f1521325a166426f07be7ba3a0887acc2fc5 100644 (file)
@@ -31,17 +31,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
 
   # FIXME: Remove this when all of Rack and Rails have learned how to
   # properly use encodings