|
@@ -226,7 +226,7 @@ discard block |
|
|
block discarded – undo |
|
226
|
226
|
* @throws SingleCircleNotFoundException |
|
227
|
227
|
*/ |
|
228
|
228
|
public function syncNextcloudUser(string $userId): FederatedUser { |
|
229
|
|
- $this->outputService->output('Syncing Nextcloud Account \'' . $userId . '\'', true); |
|
|
229
|
+ $this->outputService->output('Syncing Nextcloud Account \''.$userId.'\'', true); |
|
230
|
230
|
|
|
231
|
231
|
return $this->federatedUserService->getLocalFederatedUser($userId, false, true); |
|
232
|
232
|
} |
|
@@ -270,12 +270,12 @@ discard block |
|
|
block discarded – undo |
|
270
|
270
|
* @throws RequestBuilderException |
|
271
|
271
|
*/ |
|
272
|
272
|
public function syncNextcloudGroup(string $groupId): Circle { |
|
273
|
|
- $this->outputService->output('Syncing Nextcloud Group \'' . $groupId . '\'', true); |
|
|
273
|
+ $this->outputService->output('Syncing Nextcloud Group \''.$groupId.'\'', true); |
|
274
|
274
|
|
|
275
|
275
|
$circle = $this->federatedUserService->getGroupCircle($groupId); |
|
276
|
276
|
$this->circleService->updateDisplayName($circle->getSingleId(), $this->groupManager->getDisplayName($groupId)); |
|
277
|
277
|
|
|
278
|
|
- $members = array_map(function (Member $member): string { |
|
|
278
|
+ $members = array_map(function(Member $member): string { |
|
279
|
279
|
return $member->getSingleId(); |
|
280
|
280
|
}, $this->memberRequest->getMembers($circle->getSingleId())); |
|
281
|
281
|
|
|
@@ -353,7 +353,7 @@ discard block |
|
|
block discarded – undo |
|
353
|
353
|
*/ |
|
354
|
354
|
public function groupDeleted(string $groupId): void { |
|
355
|
355
|
$circle = new Circle(); |
|
356
|
|
- $circle->setName('group:' . $groupId) |
|
|
356
|
+ $circle->setName('group:'.$groupId) |
|
357
|
357
|
->setConfig(Circle::CFG_SYSTEM | Circle::CFG_NO_OWNER | Circle::CFG_HIDDEN) |
|
358
|
358
|
->setSource(Member::TYPE_GROUP); |
|
359
|
359
|
|