Merge branch 'MDL-60121-multi-enrol-backup' of https://github.com/mpetrowi/moodle

This commit is contained in:
Jake Dallimore 2017-09-26 15:22:33 +08:00
commit 50f6574b67

View File

@ -529,7 +529,7 @@ class backup_enrolments_structure_step extends backup_structure_step {
$enrol->annotate_ids('role', 'roleid');
// Add enrol plugin structure.
$this->add_plugin_structure('enrol', $enrol, false);
$this->add_plugin_structure('enrol', $enrol, true);
return $enrolments;
}