mirror of
https://github.com/discourse/discourse.git
synced 2026-08-01 09:08:08 -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