From: Tom Hughes Date: Mon, 2 Apr 2012 17:42:14 +0000 (+0100) Subject: We no longer need to disable sessions when the database is offline X-Git-Tag: live~5605 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/151626d019fde352cd771aafd4847d4ef63e36e9?hp=e1ce75ec49bbf1b2416755857b47cfc90b6331d4 We no longer need to disable sessions when the database is offline --- diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7aace7364..7ac9e6402 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -4,13 +4,6 @@ class ApplicationController < ActionController::Base protect_from_forgery if STATUS == :database_readonly or STATUS == :database_offline - after_filter :clear_session - wrap_parameters false - - def clear_session - session.clear - end - def self.cache_sweeper(*sweepers) end end