mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-25 12:55:00 +08:00
The `on_update` callback of triggers is called with previous fields and new fields, values. However since a recent change: https://github.com/discourse/discourse/pull/32810 this relationship is cached and would cause previous fields to equal new fields. This commit ensures we are refreshing the relationship before calling the `on_update` callback. |
||
|---|---|---|
| .. | ||
| automation.rb | ||
| field.rb | ||
| pending_automation.rb | ||
| pending_pm.rb | ||
| stat.rb | ||
| user_global_notice.rb | ||