]> cat aescling's git repositories - mastodon.git/commit
Make the rake mastodon:users:clear task properly clear out unconfirmed users (#1777)
authorEugen <eugen@zeonfederated.com>
Sat, 15 Apr 2017 19:55:28 +0000 (21:55 +0200)
committerGitHub <noreply@github.com>
Sat, 15 Apr 2017 19:55:28 +0000 (21:55 +0200)
commitfa08b5079d7f85c098ee9c6a0dd73bde0a20989f
tree7825b754397ef5995e84e9f46326ba24a6b5a274
parent00392d3c630d7691e3ec92b52e8f91c6c2f6f10a
Make the rake mastodon:users:clear task properly clear out unconfirmed users (#1777)

Before it cleared out user records only (e-mail, password) without
freeing up the associated username (account record). Furthermore, since
these records have no dependent records (due to no user activity)
they can be deleted quickly with delete_all instead of destroy
lib/tasks/mastodon.rake