MediaWiki master
RemoveInvalidEmails Class Reference

A script to remove emails that are invalid from the user_email column of the user table. More...

Inherits Maintenance.

Collaboration diagram for RemoveInvalidEmails:

Public Member Functions

 __construct ()
 
 execute ()
 

Detailed Description

A script to remove emails that are invalid from the user_email column of the user table.

Emails are validated before users can add them, but this was not always the case so older users may have invalid ones.

By default it does a dry-run, pass –commit to actually update the database.

Definition at line 20 of file removeInvalidEmails.php.

Constructor & Destructor Documentation

◆ __construct()

RemoveInvalidEmails::__construct ( )

Definition at line 25 of file removeInvalidEmails.php.

Member Function Documentation

◆ execute()

RemoveInvalidEmails::execute ( )

Definition at line 31 of file removeInvalidEmails.php.


The documentation for this class was generated from the following file: