-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
5.0
-
MOODLE_500_STABLE
Since Moodle 4.4 some course activity editing global functions have been moved to format actions (core_courseformat/cmactions). However, many are still in course/lib.php and should be moved.
Some of the functions to migrate are:
duplicate_module- course_delete_module
moveto_module- set_coursemodule_visible (and extract the stealth logic to another method)
set_coursemodule_groupmode
This issue also includes adding deprecation messages to the global functions. However, if for some reason that was not possible, it can wait until MDL-80482.