# הקבצים שהועלו לא נמחקו לאחר דחיית הפוסט - גורמים לשימור משאבים מיותר

**URL:** https://meta.discourse.org/t/uploaded-files-not-deleted-after-post-rejection-causes-unnecessary-resource-retention/363957
**Category:** Bug
**Created:** [29 באפריל,‏ 2025,‏ 10:50am UTC](https://meta.discourse.org/t/uploaded-files-not-deleted-after-post-rejection-causes-unnecessary-resource-retention/363957 "2025-04-29T10:50:53Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![copymonopoly](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@copymonopoly](https://meta.discourse.org/u/copymonopoly)
#### Post date: [29 באפריל,‏ 2025,‏ 10:50am UTC](https://meta.discourse.org/t/uploaded-files-not-deleted-after-post-rejection-causes-unnecessary-resource-retention/363957/1 "2025-04-29T10:50:53Z")

</div>

Maybe a bug？

In Discourse, when a post is submitted and enters the review queue, any uploaded files associated with it seem to persist even after the post is rejected. I manually rejected a user’s post and even permanently deleted the system-generated private message that notified the user about the review result, but the uploaded image from that post is still visible in the review queue and stored on the server.

This kind of leftover media is problematic because it pollutes the site with unused or potentially inappropriate content, which negatively impacts the health and cleanliness of the community ecosystem.

Is this expected behavior? Shouldn’t Discourse automatically delete uploads from rejected posts? And is there any way to clean these up manually if not?

---

_[View the full topic](https://meta.discourse.org/t/uploaded-files-not-deleted-after-post-rejection-causes-unnecessary-resource-retention/363957)._
