From 78de00448302acd950c3052f8170dd74efe167f2 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Mon, 21 May 2012 12:12:44 +0800 Subject: [PATCH] MDL-33051 - topics format: remove section number from section column We don't think its necessary anymore --- course/format/topics/renderer.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/course/format/topics/renderer.php b/course/format/topics/renderer.php index 7050488c5b1..5ef126f5987 100644 --- a/course/format/topics/renderer.php +++ b/course/format/topics/renderer.php @@ -102,23 +102,4 @@ class format_topics_renderer extends format_section_renderer_base { return array_merge($controls, parent::section_edit_controls($course, $section, $onsectionpage)); } - - /** - * Generate the content to displayed on the left part of a section - * - * before course modules are included - * @param stdClass $section The course_section entry from DB - * @param stdClass $course The course entry from DB - * @param bool $onsectionpage true if being printed on a section page - * @return string HTML to output. - */ - protected function section_left_content($section, $course, $onsectionpage) { - $o = parent::section_left_content($section, $course, $onsectionpage); - - if ($section->section > 0) { - $o.= $section->section; - } - - return $o; - } }