mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
rss MDL-23391 alter the rss urls to be component names ie mod_forum instead of just module name ie forum
This commit is contained in:
parent
44c0751bbf
commit
aa60291e12
11 changed files with 48 additions and 62 deletions
|
@ -106,7 +106,7 @@ if ($cancel) {
|
|||
|
||||
/// RSS and CSS and JS meta
|
||||
if (!empty($CFG->enablerssfeeds) && !empty($CFG->data_enablerssfeeds) && $data->rssarticles > 0) {
|
||||
$rsspath = rss_get_url($context->id, $USER->id, 'data', $data->id);
|
||||
$rsspath = rss_get_url($context->id, $USER->id, 'mod_data', $data->id);
|
||||
$PAGE->add_alternate_version(format_string($course->shortname) . ': %fullname%',
|
||||
$rsspath, 'application/rss+xml');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue