From fbb9f983b123526251cb8c93f163957a6e3f5284 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 5 Oct 2022 15:16:10 +0200 Subject: [PATCH] DEV: removes legacy code (#18486) No methods from https://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html seem to be used in models/topic.rb --- app/models/topic.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/topic.rb b/app/models/topic.rb index 50eda089fd8..924b38f88cf 100644 --- a/app/models/topic.rb +++ b/app/models/topic.rb @@ -3,7 +3,6 @@ class Topic < ActiveRecord::Base class UserExists < StandardError; end class NotAllowed < StandardError; end - include ActionView::Helpers::SanitizeHelper include RateLimiter::OnCreateRecord include HasCustomFields include Trashable