[#780] Remove non-functional call to Setting.check_cache

This commit is contained in:
Gregor Schmidt 2011-12-19 16:54:04 +01:00
parent 92b6d43150
commit 6273891ae7
2 changed files with 0 additions and 3 deletions

View File

@ -75,8 +75,6 @@ class ApplicationController < ActionController::Base
end end
def user_setup def user_setup
# Check the settings cache for each request
Setting.check_cache
# Find the current user # Find the current user
User.current = find_current_user User.current = find_current_user
end end

View File

@ -46,7 +46,6 @@ class ActiveSupport::TestCase
# Add more helper methods to be used by all tests here... # Add more helper methods to be used by all tests here...
def setup def setup
super super
Setting.clear_cache
end end
def log_user(login, password) def log_user(login, password)