From 218b1acb8a070439aad998c3e03c8878ba8414b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Siiri=20Yl=C3=B6nen?= Date: Wed, 18 Oct 2023 15:48:59 +0300 Subject: [PATCH] Removed changes to the base. --- src/RecordManager/Base/Record/Lido.php | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/RecordManager/Base/Record/Lido.php b/src/RecordManager/Base/Record/Lido.php index 761e38a0..cf5de8f6 100644 --- a/src/RecordManager/Base/Record/Lido.php +++ b/src/RecordManager/Base/Record/Lido.php @@ -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 * @@ -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; }