mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: Add configurable? helper to Plugin::Instance (#20767)
This can be used to forcibly disable plugins.
This commit is contained in:
@ -20,7 +20,7 @@ hide_plugin
|
||||
|
||||
after_initialize do
|
||||
module ::DiscoursePoll
|
||||
PLUGIN_NAME ||= "discourse_poll"
|
||||
PLUGIN_NAME ||= "poll"
|
||||
DATA_PREFIX ||= "data-poll-"
|
||||
HAS_POLLS ||= "has_polls"
|
||||
DEFAULT_POLL_NAME ||= "poll"
|
||||
|
Reference in New Issue
Block a user