Merge branch 'MDL-77922-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE