Loading lib/Command/SyncMissingUsersToCommon.php +2 −3 Original line number Diff line number Diff line Loading @@ -120,9 +120,8 @@ class SyncMissingUsersToCommon extends Command { private function processAllUsers(string $ipAddress, bool $isDryRun, OutputInterface $output, array &$stats): void { $output->writeln('<info>Processing all users from NextCloud</info>'); $this->userManager->callForSeenUsers(function (IUser $user) use ($ipAddress, $isDryRun, $output, &$stats) { $this->userManager->callForAllUsers(function (IUser $user) use ($ipAddress, $isDryRun, $output, &$stats) { $username = $user->getUID(); // Check if user is missing from common database if ($this->userService->isUsernameTaken($username)) { return; // Skip if already exists Loading Loading
lib/Command/SyncMissingUsersToCommon.php +2 −3 Original line number Diff line number Diff line Loading @@ -120,9 +120,8 @@ class SyncMissingUsersToCommon extends Command { private function processAllUsers(string $ipAddress, bool $isDryRun, OutputInterface $output, array &$stats): void { $output->writeln('<info>Processing all users from NextCloud</info>'); $this->userManager->callForSeenUsers(function (IUser $user) use ($ipAddress, $isDryRun, $output, &$stats) { $this->userManager->callForAllUsers(function (IUser $user) use ($ipAddress, $isDryRun, $output, &$stats) { $username = $user->getUID(); // Check if user is missing from common database if ($this->userService->isUsernameTaken($username)) { return; // Skip if already exists Loading