HomePhabricator

Add removeInvalidEmails.php maintenance script

Description

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

Details

Provenance
LegoktmAuthored on
Parents
rMWb702cb3b246b: Support offsets in prefix searching
Branches
Unknown
Tags
Unknown
ChangeId
I3cc6396ff6d8b738846b7716b4b0cddc9bf9e1a4