mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
34d158c4aa
Prior to this fix trashed channels would still prevent a channel with the same slug to be created. This commit generates a new slug on trash and frees the slug for future usage. The format used for the slug is: `YYYYMMDD-HHMM-OLD_SLUG-deleted` truncated to the max length of a channel name.