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