Skip to content

Commit

Permalink
Remove unused variable and outdated comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz authored Sep 29, 2022
1 parent 83f3de6 commit c8b7095
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/OaiPmh/Harvester.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,10 @@ protected function getRecords($params)
$this->writeLine(
'Processing ' . count($response->ListRecords->record) . " records..."
);
$endDate = $this->writer->write($response->ListRecords->record);
$this->writer->write($response->ListRecords->record);
}

// If we have a resumption token, keep going; otherwise, we're done -- save
// the end date.
// If we have a resumption token, keep going; otherwise, we're done.
if (isset($response->ListRecords->resumptionToken)
&& !empty($response->ListRecords->resumptionToken)
) {
Expand Down

0 comments on commit c8b7095

Please sign in to comment.