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