moodle-2.2 compatibility branch