# Deleting user images when using the rails console to delete users

**URL:** https://meta.discourse.org/t/deleting-user-images-when-using-the-rails-console-to-delete-users/76497
**Category:** Development
**Created:** [December 20, 2017, 5:24pm UTC](https://meta.discourse.org/t/deleting-user-images-when-using-the-rails-console-to-delete-users/76497 "2017-12-20T17:24:31Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 20, 2017, 5:38pm UTC](https://meta.discourse.org/t/deleting-user-images-when-using-the-rails-console-to-delete-users/76497/6 "2017-12-20T17:38:27Z")

</div>

I’m pretty sure that `clean_orphan_uploads_grace_period_hours` is how long before stuff gets moved to the tombstone folder (e.g., [What happens if I manually move images out of the tombstone directory?](https://meta.discourse.org/t/what-happens-if-i-manually-move-images-out-of-the-tombstone-directory/67940))

---

_[View the full topic](https://meta.discourse.org/t/deleting-user-images-when-using-the-rails-console-to-delete-users/76497)._
