Permalink
Browse files

MDL-39099 course_format: Allow section_summary() to be overridden.

  • Loading branch information...
1 parent 5e00b9a commit c594709cf498c2a4e21314ae05a7c08bcb5ca630 @gjb2048 gjb2048 committed Apr 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/format/renderer.php
View
2 course/format/renderer.php
@@ -324,7 +324,7 @@ protected function section_summary($section, $course, $mods) {
* @param array $mods course modules indexed by id (from get_all_mods)
* @return string HTML to output.
*/
- private function section_activity_summary($section, $course, $mods) {
+ protected function section_activity_summary($section, $course, $mods) {
if (empty($section->sequence)) {
return '';
}

0 comments on commit c594709

Please sign in to comment.