mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Remove unused topic_create_allowed_category_ids (#23463)
This commit is contained in:
@@ -69,10 +69,6 @@ module CategoryGuardian
|
||||
end
|
||||
end
|
||||
|
||||
def topic_create_allowed_category_ids
|
||||
@topic_create_allowed_category_ids ||= @user.topic_create_allowed_category_ids
|
||||
end
|
||||
|
||||
def topic_featured_link_allowed_category_ids
|
||||
@topic_featured_link_allowed_category_ids =
|
||||
Category.where(topic_featured_link_allowed: true).pluck(:id)
|
||||
|
||||
Reference in New Issue
Block a user