mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 09:11:17 +08:00
Feature: Hide plugins that ship with core from plugins panel
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
# url: https://github.com/discourse/discourse/tree/master/plugins/discourse-narrative-bot
|
||||
|
||||
enabled_site_setting :discourse_narrative_bot_enabled
|
||||
hide_plugin if self.respond_to?(:hide_plugin)
|
||||
|
||||
if Rails.env == "development"
|
||||
# workaround, teach reloader to reload jobs
|
||||
|
Reference in New Issue
Block a user