52 $this->sendConfirmationEmail
54 && !$this->manager->getAuthenticationSessionData(
'no-email' )
57 $this->loadBalancer->getConnectionRef(
DB_PRIMARY )->onTransactionCommitOrIdle(
58 function () use ( $user ) {
59 $user = $user->getInstanceForUpdate();
60 $status = $user->sendConfirmationMail();
61 $user->saveSettings();
62 if ( !$status->isGood() ) {
63 $this->logger->warning(
'Could not send confirmation email: ' .
64 $status->getWikiText( false, false,
'en' ) );