FIX: Incorrect `PLUGIN_NAME` for "poll" (#21525)
This resulted in `Required plugin 'discourse_poll' not found` warnings in logs
This commit is contained in:
parent
57d66f705d
commit
d8e5426bba
|
@ -20,7 +20,7 @@ hide_plugin
|
||||||
|
|
||||||
after_initialize do
|
after_initialize do
|
||||||
module ::DiscoursePoll
|
module ::DiscoursePoll
|
||||||
PLUGIN_NAME ||= "discourse_poll"
|
PLUGIN_NAME ||= "poll"
|
||||||
DATA_PREFIX ||= "data-poll-"
|
DATA_PREFIX ||= "data-poll-"
|
||||||
HAS_POLLS ||= "has_polls"
|
HAS_POLLS ||= "has_polls"
|
||||||
DEFAULT_POLL_NAME ||= "poll"
|
DEFAULT_POLL_NAME ||= "poll"
|
||||||
|
|
Loading…
Reference in New Issue