Jump to content

Delete attachment when deleting post?


FASEOFMARS

Recommended Posts

Posted
52 minutes ago, FASEOFMARS said:

Would anyone know if their is an option to Delete the attachment along with the topic when deleting a topic, or is there an available plugin?  

Thanks 

Attachments are automatically deleted when you delete content. Do note though that by default the content isn't immediately deleted.

Posted

You can look in the ModCP under deleted content to see if the post is still present in a deletion queued state.


Also, if an attachment was reused in another post elsewhere then it won’t be deleted when the original post was deleted because it is still in use.

Posted

It's not just them, all my attachments are not being deleted automatically. Is there not an option for this somewhere that im missing that i may of toggled by mistake?

Does this option have anything to do with it? 

Screenshot 2019-09-01 at 16.37.16.png

Posted

No, the setting is called “Permanently delete content”. 

If content can be restored, for say 30 days, then the attachment need to be kept until then. 

And even if the topic was finally removed, it still wouldn’t automatically delete attachment. There is a different task which deals with orphaned files on a regular basis. 

Posted

Again, what are your settings for “permanently delete settings”? It it’s like 1 month, it would be perfectly normal to keep the two files you showed in your screenshot. 

And as mentioned before, if you still have problems with this, open a ticket. 

Posted

My setting was 1 day. I feel like im talking in circles abit, the content has been permanently deleted with 'No locations to display' I have attachments dating back a month that have been permently deleted too. Perhaps this is a topic for support.  

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...