Skip to content

A platform for community discussion. Free, open, simple.

FIX: Incorrect `PLUGIN_NAME` for "poll" (#21525)

Jarek Radoszd8e5426bbaf9
diff --git a/plugins/poll/plugin.rb b/plugins/poll/plugin.rb
index 8ad92eae268..be2cb91810c 100644
--- a/plugins/poll/plugin.rb
+++ b/plugins/poll/plugin.rb
@@ -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"