1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Attachment file data is orphaned when the RM is uninstalled

Discussion in 'Resource Manager Resolved Bugs' started by Chris D, Apr 26, 2014.

  1. Chris D

    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.
    Mike likes this.
  2. Mike

    Mike 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.
    Chris D likes this.

Share This Page