From 151626d019fde352cd771aafd4847d4ef63e36e9 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 2 Apr 2012 18:42:14 +0100 Subject: [PATCH 1/1] We no longer need to disable sessions when the database is offline --- app/controllers/application_controller.rb | 7 ------- 1 file changed, 7 deletions(-) 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 -- 2.43.2