diff --git a/src/OaiPmh/Harvester.php b/src/OaiPmh/Harvester.php index a02a44b..fcbdfea 100644 --- a/src/OaiPmh/Harvester.php +++ b/src/OaiPmh/Harvester.php @@ -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) ) {