|
@@ 230-233 (lines=4) @@
|
| 227 |
|
|
| 228 |
|
$raListing = $this->getRaListingService()->get($identityId, $raInstitution, $this->getUser()->id); |
| 229 |
|
|
| 230 |
|
if (!$raListing) { |
| 231 |
|
$logger->warning(sprintf("RA listing for identity ID '%s' not found", $identityId)); |
| 232 |
|
throw new NotFoundHttpException(sprintf("RA listing for identity ID '%s' not found", $identityId)); |
| 233 |
|
} |
| 234 |
|
|
| 235 |
|
$command = new AmendRegistrationAuthorityInformationCommand(); |
| 236 |
|
$command->identityId = $raListing->identityId; |
|
@@ 276-279 (lines=4) @@
|
| 273 |
|
$logger->notice(sprintf("Loading retract registration authority form for RA(A) '%s'", $identityId)); |
| 274 |
|
|
| 275 |
|
$raListing = $this->getRaListingService()->get($identityId, $raInstitution, $this->getUser()->id); |
| 276 |
|
if (!$raListing) { |
| 277 |
|
$logger->warning(sprintf("RA listing for identity ID '%s@%s' not found", $identityId, $this->getUser()->institution)); |
| 278 |
|
throw new NotFoundHttpException(sprintf("RA listing for identity ID '%s' not found", $identityId)); |
| 279 |
|
} |
| 280 |
|
|
| 281 |
|
$command = new RetractRegistrationAuthorityCommand(); |
| 282 |
|
$command->identityId = $identityId; |