Merge branch 'MDL-51737-master-3' of git://github.com/andrewnicols/moodle