Reverted back rss_get_link() function. We've decided that the data module will

store it's XML RSS stuff in another path.
This commit is contained in:
vyshane 2006-02-10 03:16:59 +00:00
parent d1dbc96fea
commit 74142cc5a7

View file

@ -16,15 +16,9 @@ function rss_get_link($courseid, $userid, $modulename, $id, $tooltiptext='') {
}
if ($CFG->slasharguments) {
$rsspath = "$CFG->wwwroot/rss/file.php/$courseid";
$rsspath = "$CFG->wwwroot/rss/file.php/$courseid/$userid/$modulename/$id/rss.xml";
} else {
$rsspath = "$CFG->wwwroot/rss/file.php?file=/$courseid";
}
if (!empty($userid)) {
$rsspath .= "/$userid/$modulename/$id/rss.xml";
}
else {
$rsspath .= "/$modulename/$id/rss.xml";
$rsspath = "$CFG->wwwroot/rss/file.php?file=/$courseid/$userid/$modulename/$id/rss.xml";
}
$rsspix = $CFG->pixpath .'/i/rss.gif';