DEV: Remove SiteSetting.default_categories_selected (#8138)
Added on Aug 21, 2015 inbef80633b1
The only usage removed on Aug 26, 2015 in4ba89eec27
As far I can tell it isn't used by core or any official plugins.
This commit is contained in:
parent
75d54e3335
commit
5e88baebb6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue