mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
FEATURE: remove support for 'suppress_from_latest' category setting. (#8308)
This commit is contained in:
@ -74,10 +74,6 @@ class Site
|
||||
Group.visible_groups(@guardian.user, "name ASC", include_everyone: true)
|
||||
end
|
||||
|
||||
def suppressed_from_latest_category_ids
|
||||
categories.select { |c| c.suppress_from_latest == true }.map(&:id)
|
||||
end
|
||||
|
||||
def archetypes
|
||||
Archetype.list.reject { |t| t.id == Archetype.private_message }
|
||||
end
|
||||
|
Reference in New Issue
Block a user