TEMP HACK
MDL-40843 Fixed bug in showing recent activity in separate group mode

Also calling ->get_groups() instead of ->groups ensures that groups are fetched, no need to do it in advance
MDL-40843 Correctly access course_modinfo::groups

- Calling ->get_groups() instead of ->groups ensures that groups are fetched, no need to do it in advance
quiz
GENERATOR FIX