DEV: remove obsolete needs_review score type (#27200)

Chat messages are following normal post flags. This newly registered score type is not used anymore.
This commit is contained in:
Krzysztof Kotlarek 2024-05-28 13:03:58 +10:00 committed by GitHub
parent 73c6bb2593
commit 556ff0a7b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,8 +62,6 @@ after_initialize do
register_reviewable_type Chat::ReviewableMessage
reloadable_patch do |plugin|
ReviewableScore.add_new_types([:needs_review])
Site.preloaded_category_custom_fields << Chat::HAS_CHAT_ENABLED
Guardian.prepend Chat::GuardianExtensions