Merge branch 'wip-MDL-39942-master' of https://github.com/kwiliarty/moodle