From 34877d21af0b4eda6888e9cc090178f545009e58 Mon Sep 17 00:00:00 2001 From: Gareth J Barnard Date: Fri, 12 Apr 2013 18:58:03 +0100 Subject: [PATCH] MDL-39099 course_format: Allow section_summary() to be overridden. --- course/format/renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/format/renderer.php b/course/format/renderer.php index ceb3045c542..2b8067ec42f 100644 --- a/course/format/renderer.php +++ b/course/format/renderer.php @@ -324,7 +324,7 @@ abstract class format_section_renderer_base extends plugin_renderer_base { * @param array $mods (argument not used) * @return string HTML to output. */ - private function section_activity_summary($section, $course, $mods) { + protected function section_activity_summary($section, $course, $mods) { $modinfo = get_fast_modinfo($course); if (empty($modinfo->sections[$section->section])) { return '';