From 96b7a40bb312ec7f87eda64bb6fbb999e4d711d5 Mon Sep 17 00:00:00 2001 From: Aparup Banerjee Date: Wed, 30 Nov 2011 15:16:08 +0800 Subject: [PATCH] MDL-27334 : summarised comment about problem. we have git for history. --- mod/forum/index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/forum/index.php b/mod/forum/index.php index 2da19712d1f..93904f8773e 100644 --- a/mod/forum/index.php +++ b/mod/forum/index.php @@ -299,8 +299,7 @@ if ($show_rss = (($can_subscribe || $course->id == SITEID) && /// Now let's process the learning forums if ($course->id != SITEID) { // Only real courses have learning forums - // This is only required for use here and there needs to be a check to see if - // course id is the same as the site id. Moved from above. MDL-27334 + // 'format_.'$course->format only applicable when not SITEID (format_site is not a format) $strsectionname = get_string('sectionname', 'format_'.$course->format); // Add extra field for section number, at the front array_unshift($learningtable->head, $strsectionname);