mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00:00
a176b57be0
We have a `cleanup!` class method on bookmarks that deletes bookmarks X days after their related record (post/topic) are deleted. This commit changes this method to use the registered_bookmarkables for this instead, and each bookmarkable type can delete related bookmarks in their own way.