mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-60121 enrol: Fix enrol plugin backup
Allow more than one enrol plugin to add backup structure.
This commit is contained in:
parent
32f9550e85
commit
f5ea99bf6e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user