Fix undefined function report_engagement_get_course_summary()