Kruzya
Well-known member
Currently, for correct work bookmark on custom entities, developer should call method like
I suggest implement behavior
_postDeleteBookmarks() in _postDelete() in own entity. For reactions, no one additional method don't should be called, because for reactions in structure added additional behavior XF:Reactable.I suggest implement behavior
XF:Bookmarkable with same logic: remove bookmarks when entity is deleted. Because this is "breaking change", method _postDeleteBookmarks() should be exists, but with empty body.
Upvote
1