Simple forum software for building great communities.
Go to file
Alexander Skvortsov 8468a05b87 Unset tags relation after setting (#131)
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
2021-05-16 23:28:54 -04:00
extensions/tags Unset tags relation after setting (#131) 2021-05-16 23:28:54 -04:00