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:05:48 -04:00
parent cc60733069
commit 5b9fc0b69b
+1 -1
View File
@@ -522,7 +522,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;
}