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:
+1
-1
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user