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:
Andrew Davis 2010-07-19 10:57:52 +00:00
parent 44c0751bbf
commit aa60291e12
11 changed files with 48 additions and 62 deletions

View file

@ -114,7 +114,7 @@ foreach ($datas as $data) {
$rsslink = '';
if ($rss && $data->rssarticles > 0) {
$rsslink = rss_get_link($context->id, $USER->id, 'data', $data->id, 'RSS');
$rsslink = rss_get_link($context->id, $USER->id, 'mod_data', $data->id, 'RSS');
}
if ($usesections) {