X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FresetUserEmail.php;h=771d19bc7b05f7e3de9979113b139daad83a9023;hb=8fd486ef18e1b4196572d028b4384b75f2441b83;hp=f59ce6c2a9df29af52173ad0d676be235e8025d5;hpb=5dad90f3578cfe8dcd2e1ad642babf2e2660c0ca;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/resetUserEmail.php b/maintenance/resetUserEmail.php index f59ce6c2a9..771d19bc7b 100644 --- a/maintenance/resetUserEmail.php +++ b/maintenance/resetUserEmail.php @@ -65,8 +65,9 @@ class ResetUserEmail extends Maintenance { // Kick whomever is currently controlling the account off $user->setPassword( PasswordFactory::generateRandomPasswordString( 128 ) ); } + $this->output( "Done!\n" ); } } -$maintClass = 'ResetUserEmail'; +$maintClass = ResetUserEmail::class; require_once RUN_MAINTENANCE_IF_MAIN;