mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
rss MDL-23391 made lib/rsslib.php more generic
This commit is contained in:
parent
e269084401
commit
43b92251be
9 changed files with 40 additions and 37 deletions
|
@ -267,7 +267,7 @@
|
|||
$meta = '';
|
||||
if (!empty($CFG->enablerssfeeds) && !empty($CFG->data_enablerssfeeds) && $data->rssarticles > 0) {
|
||||
$rsstitle = format_string($course->shortname) . ': %fullname%';
|
||||
rss_add_http_header($context, 'data', $data, $rsstitle);
|
||||
rss_add_http_header($context, 'mod_data', $data, $rsstitle);
|
||||
}
|
||||
if ($data->csstemplate) {
|
||||
$PAGE->requires->css('/mod/data/css.php?d='.$data->id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue