Merge branch 'MDL-51759-master-2' of git://github.com/andrewnicols/moodle