mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 10:58:38 +08:00
Feature: Hide plugins that ship with core from plugins panel
This commit is contained in:
parent
c0a87f1fbf
commit
19605e8b0b
6 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
enabled_site_setting :daily_performance_report
|
||||
enabled_site_setting_filter "daily_performance_report"
|
||||
hide_plugin if self.respond_to?(:hide_plugin)
|
||||
|
||||
after_initialize do
|
||||
load File.expand_path("../app/jobs/scheduled/daily_performance_report.rb", __FILE__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue