mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
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:
parent
d1dbc96fea
commit
74142cc5a7
1 changed files with 2 additions and 8 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue