forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-82767 core_courseformat: deprecate edits in mod.php and view.php
Most edit logic embed directly into course/view.php and course/mod.php is now redirected to course/format/update.php. This commit add deprecations messages to the old get params so it can be removed in Moodle 6.0 for good.
- Loading branch information
1 parent
1fdeee6
commit 92912b0
Showing
3 changed files
with
69 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
issueNumber: MDL-82767 | ||
notes: | ||
core_courseformat: | ||
- message: >- | ||
Many get actions from course/view.php and course/mod.php are now | ||
deprecated. Use the new course/format/update.php instead to replace all | ||
direct edit urls in your code. The course/format/updates.php uses the | ||
same parameters as the core_courseformat_course_update webservice | ||
type: deprecated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters