diff --git a/lib/Service/SyncService.php b/lib/Service/SyncService.php index 71166da5c..e43e77f4c 100644 --- a/lib/Service/SyncService.php +++ b/lib/Service/SyncService.php @@ -166,7 +166,9 @@ public function sync(int $sync = self::SYNC_ALL): void { $this->syncApps(); } - if ($this->shouldSync(self::SYNC_USERS, $sync)) { + // This is useless and too heavy on load + // we keep it available when running ./occ circles:sync --users + if ($sync === self::SYNC_USERS) { $this->syncNextcloudUsers(); }