-
Sub-task
-
Resolution: Fixed
-
Critical
-
2.4
-
MOODLE_24_STABLE
-
MOODLE_25_STABLE
-
MDL-37079-master2 -
From course/modedit.php create a function create_module() that can be:
1- used by web service
2- used in core itself
The code being massive it could need to be separated in different functions. Need to identify piece of code that could be reusable in other place.
Don't forget to check in the main form (each module has different form, but I guess there should be some common part) that there is no additional checks.