Commit 2f92e22d authored by webchick's avatar webchick
Browse files

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

parent 05e1a61d
......@@ -96,10 +96,9 @@ aggregator.sources:
_permission: 'access news feeds'
path: '/aggregator/opml/{cid}'
path: '/aggregator/opml'
_title: 'OPML feed'
_controller: '\Drupal\aggregator\Controller\AggregatorController::opmlPage'
cid: null
_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();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment