mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 18:43:51 +08:00
Currently, when a plugin is disabled, its various callbacks are still taken into account. This can lead to performance issues. This patch adds a check to most of the `register_*` methods a plugin can use, so if the plugin is disabled, those callbacks won’t be applied. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db | ||
| lib/discourse_topic_voting | ||
| spec | ||
| test/javascripts/acceptance | ||
| plugin.rb | ||
| README.md | ||
Discourse Topic Voting
Adds the ability for voting on a topic within a specified category.
Topic discussing the plugin itself can be found here: https://meta.discourse.org/t/discourse-voting/40121