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