mirror of
https://github.com/flarum/framework.git
synced 2025-03-03 20:28:40 +08:00

This ensures that the proper tag values are returned to the API by clearing any cached tags before returning a response. It also makes sure that the listeners to the `DiscussionWasTagged` event won't have old data under `$event->discussion->tags`. Fixes https://github.com/flarum/core/issues/2514