From b5537f902a190f581252b71d8a8bcc763e7983db Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Thu, 30 Apr 2020 13:43:33 +1200 Subject: [PATCH] coursecat class deprecated. --- coursesummary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coursesummary.php b/coursesummary.php index 45f4488..227f048 100644 --- a/coursesummary.php +++ b/coursesummary.php @@ -76,7 +76,7 @@ if (!$table->is_downloading($download, $exportfilename)) { $url = new moodle_url('/mod/attendance/coursesummary.php', array('category' => $category, 'fromcourse' => $fromcourse)); if ($admin) { - $options = coursecat::make_categories_list('mod/attendance:viewsummaryreports'); + $options = core_course_category::make_categories_list('mod/attendance:viewsummaryreports'); echo $OUTPUT->single_select($url, 'category', $options, $category); }