mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:41:25 +08:00
FIX: Hide core plugins from the admin Plugins list (#23328)
Most of the core plugins were already hidden, this hides chat, styleguide, and checklist to avoid potential confusion for end users. Also removes respond_to? :hide_plugin, since that API has been in place for a while now.
This commit is contained in:
@ -24,6 +24,7 @@ register_svg_icon "file-image"
|
||||
|
||||
# route: /admin/plugins/chat
|
||||
add_admin_route "chat.admin.title", "chat"
|
||||
hide_plugin
|
||||
|
||||
GlobalSetting.add_default(:allow_unsecure_chat_uploads, false)
|
||||
|
||||
|
Reference in New Issue
Block a user