Merge branch 'wip-MDL-51486-master' of git://github.com/abgreeve/moodle