mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Feature: Hide plugins that ship with core from plugins panel
This commit is contained in:
@@ -10,6 +10,7 @@ register_asset "stylesheets/desktop/poll.scss", :desktop
|
||||
register_asset "stylesheets/mobile/poll.scss", :mobile
|
||||
|
||||
enabled_site_setting :poll_enabled
|
||||
hide_plugin if self.respond_to?(:hide_plugin)
|
||||
|
||||
PLUGIN_NAME ||= "discourse_poll".freeze
|
||||
DATA_PREFIX ||= "data-poll-".freeze
|
||||
|
||||
Reference in New Issue
Block a user