mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:34:09 +08:00
f53546c03d
Unactivated users that have posts cannot be deleted so we shouldn't include them in the initial query to try and purge them. Otherwise we are just loading up sidekiq with pointless work to be doing every day. Without this change if there are 201 unactivated users to purge, but the first 200 have posts, the 201st user will never be deleted even though it is the only user that doesn't have a post and is actually the one that should be deleted. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |