Skip to content
Snippets Groups Projects
Commit 2f92e22d authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2153293 by ParisLiakos: Remove unused parameter in AggregatorController::opmlPage.

parent 05e1a61d
No related merge requests found
......@@ -96,10 +96,9 @@ aggregator.sources:
_permission: 'access news feeds'
aggregator.opml_page:
path: '/aggregator/opml/{cid}'
path: '/aggregator/opml'
defaults:
_title: 'OPML feed'
_controller: '\Drupal\aggregator\Controller\AggregatorController::opmlPage'
cid: null
requirements:
_permission: 'access news feeds'
......@@ -249,7 +249,7 @@ public function sources() {
* @return \Symfony\Component\HttpFoundation\Response
* The response containing the OPML.
*/
public function opmlPage($cid = NULL) {
public function opmlPage() {
$result = $this->database->query('SELECT * FROM {aggregator_feed} ORDER BY title');
$feeds = $result->fetchAll();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment