Skip to content

Commit 990fb37

Browse files
committed
Remove unused method.
1 parent a2bae22 commit 990fb37

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/RecordManager/Base/Record/Lido.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -343,28 +343,6 @@ public function getISBNs()
343343
return array_unique($arr);
344344
}
345345

346-
/**
347-
* Get related ISBNs
348-
*
349-
* @return array
350-
*/
351-
public function getRelatedISBNs(): array
352-
{
353-
$results = [];
354-
foreach ($this->getRelatedWorkSetNodes($this->relatedISBNRelationTypes) as $set) {
355-
foreach ($set->relatedWork->object->objectID ?? [] as $identifier) {
356-
if ($isbn = $this->checkISBN((string)$identifier)) {
357-
// Include ISBNs in original format and in ISBN-13 format
358-
$results[] = $isbn;
359-
if ($normalized = $this->metadataUtils->normalizeISBN($isbn)) {
360-
$results[] = $normalized;
361-
}
362-
}
363-
}
364-
}
365-
return array_unique($results);
366-
}
367-
368346
/**
369347
* Dedup: Return ISSNs
370348
*

0 commit comments

Comments
 (0)