Skip to content

Commit

Permalink
Merge branch 'm21_MDL-30211' of git://github.com/danmarsden/moodle in…
Browse files Browse the repository at this point in the history
…to MOODLE_21_STABLE
  • Loading branch information
Sam Hemelryk committed Dec 7, 2011
2 parents e85af10 + fd03c32 commit 8305bb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions enrol/imsenterprise/lib.php
Expand Up @@ -394,6 +394,10 @@ function process_group_tag($tagcontents){

$courseid = $DB->insert_record('course', $course);

// Setup default enrolment plugins
$course->id = $courseid;
enrol_course_updated(true, $course, null);

// Setup the blocks
$course = $DB->get_record('course', array('id' => $courseid));
blocks_add_default_course_blocks($course);
Expand Down

0 comments on commit 8305bb6

Please sign in to comment.