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:
Martin Brennan
2023-08-31 10:01:01 +10:00
committed by GitHub
parent c5d6e8cd23
commit 97a812f022
8 changed files with 8 additions and 5 deletions

View File

@ -5,7 +5,7 @@
# version: 0.1
# author: Joffrey Jaffeux
hide_plugin if self.respond_to?(:hide_plugin)
hide_plugin
register_asset "stylesheets/common/discourse-local-dates.scss"
register_asset "moment.js", :vendored_core_pretty_text