Details
Description
At present the course creation is hardcoded in course/edit.php script,
it is duplicated in auth and enrol plugins which is often causing problems
solution:
- create_course(), update_course() in lib/courselib.php
At present the course creation is hardcoded in course/edit.php script,
it is duplicated in auth and enrol plugins which is often causing problems
solution:
If you search the code for 'blocks_add_default_course_blocks', that will find all the places we have duplicated code to create a course. They all need to be replaced by calls to the new create_course function.