Merge branch 'MDL-69740_310' of https://github.com/timhunt/moodle into MOODLE_310_STABLE