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

This resulted in `Required plugin 'discourse_poll' not found` warnings in logs
This commit is contained in:
Jarek Radosz 2023-05-12 12:54:14 +02:00 committed by GitHub
parent 57d66f705d
commit d8e5426bba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"