[#780] Remove non-functional call to Setting.check_cache
This commit is contained in:
parent
92b6d43150
commit
6273891ae7
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue