Fix config to work in Moodle 2.4.