49 $this->sendConfirmationEmail
51 && !$this->manager->getAuthenticationSessionData(
'no-email' )
55 function () use ( $user ) {
56 $user = $user->getInstanceForUpdate();
57 $status = $user->sendConfirmationMail();
58 $user->saveSettings();
59 if ( !$status->isGood() ) {
60 $this->logger->warning(
'Could not send confirmation email: ' .
61 $status->getWikiText( false, false,
'en' ) );