mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-17 11:48:52 +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. |
||
|---|---|---|
| .. | ||
| fabricators | ||
| integration | ||
| jobs | ||
| lib | ||
| models | ||
| requests | ||
| scripts | ||
| serializers | ||
| services | ||
| system | ||
| triggers | ||
| plugin_helper.rb | ||