Merge branch 'MDL-71031_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE