From ba232eab53525b3dd3b92f8b3aeb29e5add6a846 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Wed, 9 Nov 2022 13:28:00 +0100 Subject: [PATCH] DEV: Remove unused code --- app/models/site_setting.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/models/site_setting.rb b/app/models/site_setting.rb index d037d3c5277..7ec4016dc13 100644 --- a/app/models/site_setting.rb +++ b/app/models/site_setting.rb @@ -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