Add deleteOrphans() utility to the File class to remove unused files
Also add a cron job to perform the task on demand Change the implementation for Ticket::deleteAttachments to call this method after simply removing all entries from the %ticket_attachment table
Showing
- include/class.canned.php 4 additions, 21 deletionsinclude/class.canned.php
- include/class.cron.php 9 additions, 3 deletionsinclude/class.cron.php
- include/class.faq.php 4 additions, 20 deletionsinclude/class.faq.php
- include/class.file.php 18 additions, 0 deletionsinclude/class.file.php
- include/class.ticket.php 4 additions, 9 deletionsinclude/class.ticket.php
Loading
Please register or sign in to comment