Fixed Attachment file data is orphaned when the RM is uninstalled

Chris D

XenForo developer
Staff member
Resource Manager data is not fully removed upon uninstall.

All Resource Manager attachments are deleted from the xf_attachment table, but that leaves data in xf_attachment_data and further leaves files on the file system.

It should be sufficient to simply set the unassociated column to 0 for matching content types, then the xf_attachment_data and files will be dealt with during the clean up processes.


XenForo developer
Staff member
That's a reasonable approach. Possibly not perfect if you had a huge RM install, though that's probably a very insignificant edge case.