DEV: Remove unused topic_create_allowed_category_ids (#23463)

This commit is contained in:
Bianca Nenciu
2023-09-08 12:03:22 +03:00
committed by GitHub
parent 26dfb8a489
commit 4db5310135
3 changed files with 0 additions and 11 deletions

View File

@@ -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)