From 2b978d54b1125eecf46c863b64a455bbd52d1fa0 Mon Sep 17 00:00:00 2001 From: Stuart Rowlands Date: Fri, 9 Oct 2020 17:39:24 +1300 Subject: [PATCH] Removed redundant todos. --- modules/quant_api/src/EventSubscriber/QuantApi.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/quant_api/src/EventSubscriber/QuantApi.php b/modules/quant_api/src/EventSubscriber/QuantApi.php index df2de5d3..c3c30af0 100644 --- a/modules/quant_api/src/EventSubscriber/QuantApi.php +++ b/modules/quant_api/src/EventSubscriber/QuantApi.php @@ -181,7 +181,6 @@ public function onOutput(QuantEvent $event) { } // Pagination support. - // @todo: Determine when we need to run this. $document = new \DOMDocument(); @$document->loadHTML($content); $xpath = new \DOMXPath($document); @@ -189,7 +188,6 @@ public function onOutput(QuantEvent $event) { /** @var \DOMElement $node */ $pager_operations = []; // @todo: Make this xpath configurable. - // @todo: Check this xpath works for core taxonomy listing (and elsewhere pagination appears). // This supports the use case for core views output (mini and standard pager). foreach ($xpath->query('//a[contains(@href,"page=") and (./span[contains(text(), "Next")])]') as $node) { $original_href = $node->getAttribute('href');