Remove unused deprecator configuration (#32288)

pull/32307/head
Matt Jankowski 5 months ago committed by GitHub
parent c3a38c7d8c
commit 022c1ae6f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -96,10 +96,6 @@ module Mastodon
config.middleware.use Rack::Attack
config.middleware.use Mastodon::RackMiddleware
initializer :deprecator do |app|
app.deprecators[:mastodon] = ActiveSupport::Deprecation.new('4.3', 'mastodon/mastodon')
end
config.before_configuration do
require 'mastodon/redis_configuration'
::REDIS_CONFIGURATION = Mastodon::RedisConfiguration.new

Loading…
Cancel
Save