TEMP HACK
MDL-40843 Fixing errors in mod_assign
MDL-40843 Correctly access course_modinfo->get_groups() mod_assign
MDL-40843 Fixing errors in mod_assignment
MDL-40843 Correctly access course_modinfo->get_groups() mod_assignment
MDL-40843 Correctly access course_modinfo->get_groups()