From c8b70953b39dc3c9cb379cda2bd8ed0cd39a46e5 Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Thu, 29 Sep 2022 07:18:52 -0400 Subject: [PATCH] Remove unused variable and outdated comment. --- src/OaiPmh/Harvester.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) ) {