From: moodler Date: Sun, 26 Mar 2006 15:57:37 +0000 (+0000) Subject: Include course in RSS feed name X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fe350f8564901aceed1c5be7f12957b60e870957;p=moodle.git Include course in RSS feed name --- diff --git a/mod/data/rsslib.php b/mod/data/rsslib.php index 09eeda201c..8451ee7de3 100644 --- a/mod/data/rsslib.php +++ b/mod/data/rsslib.php @@ -79,9 +79,11 @@ array_push($items, $item); } + + $course = get_record('course', 'id', $data->course); // First all rss feeds common headers. - $header = rss_standard_header(format_string($data->name,true), + $header = rss_standard_header($course->shortname.': '.format_string($data->name,true), $CFG->wwwroot."/mod/data/view.php?d=".$data->id, format_string($data->intro,true));