mirror of
https://github.com/discourse/discourse.git
synced 2026-07-30 08:08:20 -05:00
Currently, `Tag.unused` scope is used to delete unused tags on `/tags` and by CleanUpTags job. Synonym tags, should not be included and treated as unused. Synonyms are only deleted when main tag is deleted: https://github.com/discourse/discourse/blob/main/app/models/tag.rb#L57