Merge branch 'MDL-38471-m' of https://github.com/andrewnicols/moodle