We no longer need to disable sessions when the database is offline

This commit is contained in:
Tom Hughes 2012-04-02 18:42:14 +01:00
parent e1ce75ec49
commit 151626d019

View file

@ -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