MDL-30166 Remove deprecated %fullname% from core

Thanks to Matheus Kautzmann for the initial patch.
This commit is contained in:
Ankit Agarwal
2013-03-12 11:19:58 +08:00
parent 215c1897a4
commit cbbdca1264
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -121,9 +121,9 @@ if ($cancel) {
/// RSS and CSS and JS meta
if (!empty($CFG->enablerssfeeds) && !empty($CFG->data_enablerssfeeds) && $data->rssarticles > 0) {
$rsspath = rss_get_url($context->id, $USER->id, 'mod_data', $data->id);
$courseshortname = format_string($course->shortname, true, array('context' => get_context_instance(CONTEXT_COURSE, $course->id)));
$PAGE->add_alternate_version($courseshortname . ': %fullname%', $rsspath, 'application/rss+xml');
$rsstitle = $courseshortname . ': ' . format_string($data->name);
rss_add_http_header($context, 'mod_data', $data, $rsstitle);
}
if ($data->csstemplate) {
$PAGE->requires->css('/mod/data/css.php?d='.$data->id);