Well, I know this is not really a bug, but when deleting a ticket, the attachments are not beeing deleted. Is this on purpose, or is this a feature

?
It's hard to find out what attachments can be deleted after a while.
Do you think you will be including this in a next version?
It should be something in delete_tickets.php. I think there are 2 options:
- Read the database for attachments (hesk_tickets, hesk_replies), and delete them one by one.
- Brute force read all files, and if a file starts with the ticket ID, delete it
Wich way do you think is faster? (probably depends on how many attachements there are)