mirror of
https://github.com/mastodon/mastodon.git
synced 2025-02-11 09:25:08 +00:00
Remove unused deprecator configuration (#32288)
This commit is contained in:
parent
c3a38c7d8c
commit
022c1ae6f2
|
@ -96,10 +96,6 @@ module Mastodon
|
||||||
config.middleware.use Rack::Attack
|
config.middleware.use Rack::Attack
|
||||||
config.middleware.use Mastodon::RackMiddleware
|
config.middleware.use Mastodon::RackMiddleware
|
||||||
|
|
||||||
initializer :deprecator do |app|
|
|
||||||
app.deprecators[:mastodon] = ActiveSupport::Deprecation.new('4.3', 'mastodon/mastodon')
|
|
||||||
end
|
|
||||||
|
|
||||||
config.before_configuration do
|
config.before_configuration do
|
||||||
require 'mastodon/redis_configuration'
|
require 'mastodon/redis_configuration'
|
||||||
::REDIS_CONFIGURATION = Mastodon::RedisConfiguration.new
|
::REDIS_CONFIGURATION = Mastodon::RedisConfiguration.new
|
||||||
|
|
Loading…
Reference in New Issue
Block a user