X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FremoveInvalidEmails.php;h=bee8d693a8e7b7ca1433ad2ce661d7607c031e80;hb=62991fcb7a5027b1eceb5656829c1c65bf9f98cb;hp=ec68ef2e77874ddb71455d5fa79ad63bbed62ae9;hpb=3f59cb9f3a53ad28f8a95fe299c5de6abd24b453;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/removeInvalidEmails.php b/maintenance/removeInvalidEmails.php index ec68ef2e77..bee8d693a8 100644 --- a/maintenance/removeInvalidEmails.php +++ b/maintenance/removeInvalidEmails.php @@ -21,6 +21,7 @@ class RemoveInvalidEmails extends Maintenance { $this->addOption( 'commit', 'Whether to actually update the database', false, false ); $this->setBatchSize( 500 ); } + public function execute() { $this->commit = $this->hasOption( 'commit' ); $dbr = $this->getDB( DB_REPLICA );