mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-18 02:20:37 -05:00
CustomerToken.purge_expired deletes share links that have expired or whose issue was deleted. It runs whenever a new link is made, so they don't pile up, and from rake redmine_qbo:purge_customer_tokens for a manual or scheduled run. Expired links were only ignored before. Also drops Issue's belongs_to :customer_token: issues have no such column, so the association could only raise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>