DEV: Drop the `Discourse.redis` monkey-patch (#123)
It's been over two years. I don't think we need this fallback anymore?
This commit is contained in:
parent
776da654f9
commit
b3379317c6
|
|
@ -6,15 +6,6 @@
|
|||
# authors: Robin Ward, Sam Saffron
|
||||
# url: https://github.com/discourse/docker_manager
|
||||
|
||||
if !defined? ::Discourse.redis
|
||||
# HACK: make Discourse.redis work on old versions of Discourse
|
||||
module ::Discourse
|
||||
def self.redis
|
||||
$redis # rubocop:disable Style/GlobalVars
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
module ::DockerManager
|
||||
# should be automatic, but something is weird
|
||||
load File.expand_path(File.dirname(__FILE__)) + '/app/helpers/application_helper.rb'
|
||||
|
|
|
|||
Loading…
Reference in New Issue