Merge branch 'MDL-75886-311' of https://github.com/andrewnicols/moodle into MOODLE_31...