We no longer need to disable sessions when the database is offline
This commit is contained in:
parent
e1ce75ec49
commit
151626d019
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue