mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 13:28:53 +08:00
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…
x
Reference in New Issue
Block a user