Merge branch 'MDL-31244_22' of git://github.com/timhunt/moodle into MOODLE_22_STABLE