mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
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:

committed by
GitHub

parent
73c6bb2593
commit
556ff0a7b8
@ -62,8 +62,6 @@ after_initialize do
|
|||||||
register_reviewable_type Chat::ReviewableMessage
|
register_reviewable_type Chat::ReviewableMessage
|
||||||
|
|
||||||
reloadable_patch do |plugin|
|
reloadable_patch do |plugin|
|
||||||
ReviewableScore.add_new_types([:needs_review])
|
|
||||||
|
|
||||||
Site.preloaded_category_custom_fields << Chat::HAS_CHAT_ENABLED
|
Site.preloaded_category_custom_fields << Chat::HAS_CHAT_ENABLED
|
||||||
|
|
||||||
Guardian.prepend Chat::GuardianExtensions
|
Guardian.prepend Chat::GuardianExtensions
|
||||||
|
Reference in New Issue
Block a user