MDL-60121 enrol: Fix enrol plugin backup
Allow more than one enrol plugin to add backup structure.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user