Closed cwarwicker closed 2 years ago
By moving this code into the user loop and passing through the userid it ensures the correct user is loaded into the modinfo object, which is used in some access conditions for their checks (e.g. availability_group).
Fixes: #73
Please see my notes on #73 for info on this patch: https://github.com/catalyst/moodle-mod_reengagement/issues/73#issuecomment-1119742191
merged in manually - thanks!
By moving this code into the user loop and passing through the userid it ensures the correct user is loaded into the modinfo object, which is used in some access conditions for their checks (e.g. availability_group).
Fixes: #73