Skip to content

Commit

Permalink
Merge branch 'main' into https
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-meyer authored Feb 1, 2025
2 parents 126e043 + 4358e98 commit cc831c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Classes/Common/Solr/Solr.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,11 @@ public static function getNextCoreNumber(int $number = 0): int
$number = max($number, 0);
// Check if core already exists.
$solr = self::getInstance('dlfCore' . $number);
if (!$solr->ready) {
return $number;
} else {
return self::getNextCoreNumber($number + 1);
while ($solr->ready) {
$number++;
$solr = self::getInstance('dlfCore' . $number);
}
return $number;
}

/**
Expand Down
4 changes: 0 additions & 4 deletions Classes/Controller/OaiPmhController.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,6 @@ protected function verbIdentify()

$oaiIdentifyInfo = [];

if (!$oaiIdentifyInfo) {
$this->logger->notice('Incomplete plugin configuration');
}

$oaiIdentifyInfo['oai_label'] = $library ? $library->getOaiLabel() : '';
// Use default values for an installation with incomplete plugin configuration.
if (empty($oaiIdentifyInfo['oai_label'])) {
Expand Down

0 comments on commit cc831c0

Please sign in to comment.