As designed Delete Attachments with delete Album

developr

Active member
Affected version
2.0.4
If I delete an album the attachments of media in database (xf_attachment, xf_attachment_view) an internal_data (internal_data/attachments/) still exists.

Also if I delete a media item.
 
Last edited:
Yeah that's right. The xf_attachment record should be deleted straight away, then the attach_count will be decreased by one. 99 times out of 100 that is essentially setting it to 0 (as we don't do a lot of attachment re-use at this point).

If the album contains lots of images then a job will be queued to delete the media items in the background.
 
Top Bottom