How to make an image orphaned so that it gets removed?

Were these ever actioned? I can’t see a Rake task or a setting that will remove images from deleted posts.

When I look in at the old deleted posts (> 1 year old) in our instance, the images are still there.

This matters at the moment as we are moving part of an instance which will involves a heap of topic deletions and historic uploads that need to be removed.

Another way to solve this would be to purge deleted posts and topics from the database, but I can’t see how to do that either.

P.S.

continued here:

3 curtidas

O mesmo em nossa instância – seria ótimo ter isso. A expectativa de um usuário é que o upload seja removido após 48 horas se o post dele for excluído, sem a necessidade de editar o link no post primeiro.

Devemos criar um tópico separado em Feature?

3 curtidas

Este tópico foi automaticamente fechado após 2322 dias. Novas respostas não são mais permitidas.