Loading lib/Command/FixMissingEmails.php +3 −3 Original line number Diff line number Diff line Loading @@ -27,11 +27,11 @@ class FixMissingEmails extends Command { IDBConnection $dbConnection, IUserManager $userManager ) { parent::__construct(); $this->ldapConnectionService = $ldapConnectionService; $this->userService = $userService; $this->dbConnection = $dbConnection; $this->userManager = $userManager; parent::__construct(); } protected function configure(): void { Loading Loading @@ -166,8 +166,8 @@ class FixMissingEmails extends Command { if (!$isDryRun) { $this->userService->setUserEmail($username, $mailAddress); $output->writeln(sprintf(' <info>Email set successfully for user: %s</info>', $username)); } else { $output->writeln(sprintf(' <comment>Would set email to: %s</comment>', $mailAddress)); return; } $output->writeln(sprintf(' <comment>Would set email to: %s</comment>', $mailAddress)); } } Loading
lib/Command/FixMissingEmails.php +3 −3 Original line number Diff line number Diff line Loading @@ -27,11 +27,11 @@ class FixMissingEmails extends Command { IDBConnection $dbConnection, IUserManager $userManager ) { parent::__construct(); $this->ldapConnectionService = $ldapConnectionService; $this->userService = $userService; $this->dbConnection = $dbConnection; $this->userManager = $userManager; parent::__construct(); } protected function configure(): void { Loading Loading @@ -166,8 +166,8 @@ class FixMissingEmails extends Command { if (!$isDryRun) { $this->userService->setUserEmail($username, $mailAddress); $output->writeln(sprintf(' <info>Email set successfully for user: %s</info>', $username)); } else { $output->writeln(sprintf(' <comment>Would set email to: %s</comment>', $mailAddress)); return; } $output->writeln(sprintf(' <comment>Would set email to: %s</comment>', $mailAddress)); } }