Remove unused deprecator configuration (#32288)

This commit is contained in:
Matt Jankowski 2024-10-08 08:52:52 -04:00 committed by GitHub
parent c3a38c7d8c
commit 022c1ae6f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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