03c530cc9b
Since Moodle 4.0, most course edit actions can be executed using the core_courseformat_course_edit webservice using only four parameters (courseid, ids, targetsectionid and targetcmid). However, some actions logic is still replicated and embed in course/view.php and course/mod.php files since the beginning of time. Now the course/update.php offers a non-ajax way of executing the same actions and replace the old replicated ways of doing the same.