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