How to batch-delete users with no posts
I have hundreds of thousands of user registrations by spam bots (from before an import from a different software); they were never able to post due to not confirming their email.
Has any code been written to automatically delete users which haven't logged in for D days and have not written any posts?
If not, what does one need to pay attention to? Is removing the user rows from the database enough?