Skip to content

Commit

Permalink
Removed changes to the base.
Browse files Browse the repository at this point in the history
  • Loading branch information
siiriylonen committed Oct 18, 2023
1 parent 4af4dff commit 218b1ac
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/RecordManager/Base/Record/Lido.php
Original file line number Diff line number Diff line change
Expand Up @@ -1288,27 +1288,6 @@ protected function getIdentifiersByType(
return $result;
}

/**
* Return identifying places
*
* @return array
*/
protected function getIdentifyingPlaces(): array
{
$result = [];
foreach (
$this->doc->lido->descriptiveMetadata->objectIdentificationWrap->repositoryWrap->repositorySet
?? [] as $set
) {
foreach ($set->repositoryLocation->namePlaceSet ?? [] as $nameSet) {
foreach ($nameSet->appellationValue ?? [] as $place) {
$result[] = (string)$place;
}
}
}
return $result;
}

/**
* Get main event types
*
Expand Down Expand Up @@ -1394,8 +1373,6 @@ protected function getDisplayPlaces(): array
if ($places = $this->getSubjectDisplayPlaces()) {
$result = [...$result, ...$places];
}
$idPlaces = $this->getIdentifyingPlaces();
$result = array_merge($result, $idPlaces);
return $result;
}

Expand Down

0 comments on commit 218b1ac

Please sign in to comment.