Loading lib/Command/SyncMissingUsersToCommon.php +0 −6 Original line number Diff line number Diff line Loading @@ -123,12 +123,6 @@ class SyncMissingUsersToCommon extends Command { $this->userManager->callForAllUsers(function (IUser $user) use ($ipAddress, $isDryRun, $output, &$stats) { $username = $user->getUID(); // Strip legacy domain from username before checking in common DB $usernameWithoutDomain = $this->userService->stripLegacyDomainFromUsername($username); if ($this->userService->isUsernameTaken($usernameWithoutDomain)) { return; // Skip if already exists } $this->processSingleUser($username, $ipAddress, $isDryRun, $output, $stats); if ($stats['processed'] % 100 === 0) { $output->writeln(sprintf('<info>Progress: %d processed, %d success, %d errors</info>', Loading Loading
lib/Command/SyncMissingUsersToCommon.php +0 −6 Original line number Diff line number Diff line Loading @@ -123,12 +123,6 @@ class SyncMissingUsersToCommon extends Command { $this->userManager->callForAllUsers(function (IUser $user) use ($ipAddress, $isDryRun, $output, &$stats) { $username = $user->getUID(); // Strip legacy domain from username before checking in common DB $usernameWithoutDomain = $this->userService->stripLegacyDomainFromUsername($username); if ($this->userService->isUsernameTaken($usernameWithoutDomain)) { return; // Skip if already exists } $this->processSingleUser($username, $ipAddress, $isDryRun, $output, $stats); if ($stats['processed'] % 100 === 0) { $output->writeln(sprintf('<info>Progress: %d processed, %d success, %d errors</info>', Loading