"post withdrawn by author, will be automatically deleted in -1 hours unless flagged"


(Jefffrey) #1

Setting the option “delete removed posts after” to 0 or -1 won’t delete the posts immediately but rather it will change the “deleted” message to:

(post withdrawn by author, will be automatically deleted in 0 hours unless flagged)

and

(post withdrawn by author, will be automatically deleted in -1 hours unless flagged)

Is it impossible to immediately remove posts, by design?


(Jefffrey) #2

Apparently once you have set it to -1 the post is deleted after few minutes.


(Mittineague) #3

Have you tested it?

My guess would be that 0 or -1 indicates “FALSE” i.e. not at all.


(Jeff Atwood) #4

We should check this setting – @neil can we support 0 meaning “delete immediately”? Also update the copy for the setting to reflect this.


Should category go below the topic title on the topic page?
(Neil Lalonde) #5

Sure, I’ll add support for 0 being a special case to delete immediately. I’ll also add validation to prevent setting it to less than 0.

FYI, the delete job runs every 30 minutes, so currently 0 or lower means that the post will be deleted the next time it runs.


(Neil Lalonde) #6

I added support for this today.


(Jeff Atwood) #7