MDL-60121 enrol: Fix enrol plugin backup

Allow more than one enrol plugin to add backup structure.
This commit is contained in:
Matt Petro
2017-09-19 07:07:21 -04:00
parent 50126511aa
commit ae8ce02b74
+1 -1
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;
}