mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 05:24: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. |
||
|---|---|---|
| .. | ||
| filter_manager_spec.rb | ||
| instance_spec.rb | ||
| metadata_spec.rb | ||