Moodle.2x mod/reader don't use deprecated get_all_sections in Moodle >= 2.3