Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
2f92e22d
Commit
2f92e22d
authored
Dec 09, 2013
by
webchick
Browse files
Issue
#2153293
by ParisLiakos: Remove unused parameter in AggregatorController::opmlPage.
parent
05e1a61d
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/aggregator/aggregator.routing.yml
View file @
2f92e22d
...
...
@@ -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'
core/modules/aggregator/lib/Drupal/aggregator/Controller/AggregatorController.php
View file @
2f92e22d
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment