DEV: Remove unused code

This commit is contained in:
Gerhard Schlager 2022-11-09 13:28:00 +01:00 committed by Gerhard Schlager
parent de2382a652
commit ba232eab53
1 changed files with 0 additions and 8 deletions

View File

@ -106,14 +106,6 @@ class SiteSetting < ActiveRecord::Base
SiteSetting.manual_polling_enabled? || SiteSetting.pop3_polling_enabled?
end
WATCHED_SETTINGS ||= [
:default_locale,
:blocked_attachment_content_types,
:blocked_attachment_filenames,
:allowed_unicode_username_characters,
:markdown_typographer_quotation_marks
]
def self.blocked_attachment_content_types_regex
current_db = RailsMultisite::ConnectionManagement.current_db