Merge branch 'MDL-37566-m' of git://github.com/andrewnicols/moodle