Add removeInvalidEmails.php maintenance script
authorKunal Mehta <legoktm@gmail.com>
Tue, 2 Dec 2014 20:40:23 +0000 (12:40 -0800)
committerKunal Mehta <legoktm@gmail.com>
Wed, 3 Dec 2014 20:24:33 +0000 (12:24 -0800)
commit6002ee6d4bbe64d8623a3696a47c72b9ae431e79
tree55ccdb8a096f0abb52ee93beec58f99cce96b47e
parentb702cb3b246b2bf1652ed93ac09b343557f361b3
Add removeInvalidEmails.php maintenance script

The script scans the user table and removes emails
that are technically invalid which don't pass
Sanitizer::validateEmail(), and wouldn't be allowed
today. Confirmed emails are skipped entirely since
they had to be valid at some point.

Bug: T76512
Change-Id: I3cc6396ff6d8b738846b7716b4b0cddc9bf9e1a4
maintenance/removeInvalidEmails.php [new file with mode: 0644]