mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-53904-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
1019a8f1ca
@ -3209,6 +3209,7 @@ class course_request {
|
||||
$data->visible = $courseconfig->visible;
|
||||
$data->visibleold = $data->visible;
|
||||
$data->lang = $courseconfig->lang;
|
||||
$data->enablecompletion = $courseconfig->enablecompletion;
|
||||
|
||||
$course = create_course($data);
|
||||
$context = context_course::instance($course->id, MUST_EXIST);
|
||||
|
Loading…
x
Reference in New Issue
Block a user