Loading lib/Command/SyncMissingUsersToCommon.php +4 −1 Original line number Diff line number Diff line Loading @@ -125,11 +125,14 @@ class SyncMissingUsersToCommon extends Command { $totalUsers = count($allUsers); $output->writeln(sprintf('<info>Processing all users from NextCloud (total: %d)</info>', $totalUsers)); $lastProcessed = 0; foreach ($allUsers as $user) { $before = $stats['processed']; $this->processSingleUser($user->getUID(), $ipAddress, $isDryRun, $output, $stats); if ($stats['processed'] % 100 === 0) { if ($stats['processed'] > 0 && $stats['processed'] % 100 === 0 && $stats['processed'] !== $lastProcessed) { $output->writeln(sprintf('<info>Progress: %d processed, %d success, %d errors</info>', $stats['processed'], $stats['success'], $stats['errors'])); $lastProcessed = $stats['processed']; } } } Loading Loading
lib/Command/SyncMissingUsersToCommon.php +4 −1 Original line number Diff line number Diff line Loading @@ -125,11 +125,14 @@ class SyncMissingUsersToCommon extends Command { $totalUsers = count($allUsers); $output->writeln(sprintf('<info>Processing all users from NextCloud (total: %d)</info>', $totalUsers)); $lastProcessed = 0; foreach ($allUsers as $user) { $before = $stats['processed']; $this->processSingleUser($user->getUID(), $ipAddress, $isDryRun, $output, $stats); if ($stats['processed'] % 100 === 0) { if ($stats['processed'] > 0 && $stats['processed'] % 100 === 0 && $stats['processed'] !== $lastProcessed) { $output->writeln(sprintf('<info>Progress: %d processed, %d success, %d errors</info>', $stats['processed'], $stats['success'], $stats['errors'])); $lastProcessed = $stats['processed']; } } } Loading