mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 02:59:07 +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. |
||
|---|---|---|
| .. | ||
| filter_manager_spec.rb | ||
| instance_spec.rb | ||
| metadata_spec.rb | ||