|
@@ 341-347 (lines=7) @@
|
| 338 |
|
) |
| 339 |
|
); |
| 340 |
|
|
| 341 |
|
if ($updateStruct->sectionId !== null) { |
| 342 |
|
$section = $this->sectionService->loadSection($updateStruct->sectionId); |
| 343 |
|
$this->sectionService->assignSection( |
| 344 |
|
$userGroup->getVersionInfo()->getContentInfo(), |
| 345 |
|
$section |
| 346 |
|
); |
| 347 |
|
} |
| 348 |
|
|
| 349 |
|
$updatedGroup = $this->userService->updateUserGroup($userGroup, $updateStruct->userGroupUpdateStruct); |
| 350 |
|
$contentType = $this->contentTypeService->loadContentType( |
|
@@ 385-391 (lines=7) @@
|
| 382 |
|
) |
| 383 |
|
); |
| 384 |
|
|
| 385 |
|
if ($updateStruct->sectionId !== null) { |
| 386 |
|
$section = $this->sectionService->loadSection($updateStruct->sectionId); |
| 387 |
|
$this->sectionService->assignSection( |
| 388 |
|
$user->getVersionInfo()->getContentInfo(), |
| 389 |
|
$section |
| 390 |
|
); |
| 391 |
|
} |
| 392 |
|
|
| 393 |
|
$updatedUser = $this->userService->updateUser($user, $updateStruct->userUpdateStruct); |
| 394 |
|
$updatedContentInfo = $updatedUser->getVersionInfo()->getContentInfo(); |