MDL-42006: Make use of new moodle_url accessors