Merge branch 'MDL-56596-master-fix' of git://github.com/andrewnicols/moodle