Remove unused deprecator configuration (#32288)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-10-08 12:52:52 +00:00
1 parent c3a38c7d8c
commit 022c1ae6f2
1 file changed
-4
-4
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