DEV: Remove SiteSetting.default_categories_selected (#8138)

Added on Aug 21, 2015 in bef80633b1
The only usage removed on Aug 26, 2015 in 4ba89eec27

As far I can tell it isn't used by core or any official plugins.
This commit is contained in:
Jarek Radosz 2019-10-04 07:57:17 +02:00 committed by Sam
parent 75d54e3335
commit 5e88baebb6
1 changed files with 0 additions and 9 deletions

View File

@ -85,15 +85,6 @@ class SiteSetting < ActiveRecord::Base
force_https? ? "https" : "http"
end
def self.default_categories_selected
[
SiteSetting.default_categories_watching.split("|"),
SiteSetting.default_categories_tracking.split("|"),
SiteSetting.default_categories_muted.split("|"),
SiteSetting.default_categories_watching_first_post.split("|")
].flatten.to_set
end
def self.min_redirected_to_top_period(duration)
ListController.best_period_with_topics_for(duration)
end