feat(core): support older moodle versions