mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +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:
@ -7,7 +7,7 @@
|
||||
# url: https://github.com/discourse/discourse/tree/main/plugins/discourse-narrative-bot
|
||||
|
||||
enabled_site_setting :discourse_narrative_bot_enabled
|
||||
hide_plugin if self.respond_to?(:hide_plugin)
|
||||
hide_plugin
|
||||
|
||||
if Rails.env == "development"
|
||||
# workaround, teach reloader to reload jobs
|
||||
|
Reference in New Issue
Block a user