diff --git a/backup/moodle2/backup_stepslib.php b/backup/moodle2/backup_stepslib.php index ffc310e0d6f..0a1f9fa4efe 100644 --- a/backup/moodle2/backup_stepslib.php +++ b/backup/moodle2/backup_stepslib.php @@ -320,7 +320,7 @@ class backup_module_structure_step extends backup_structure_step { $this->add_plugin_structure('format', $module, false); // attach plagiarism plugin structure to $module element, only one allowed - $this->add_plugin_structure('plagiarism', $module, false); + $this->add_plugin_structure('plagiarism', $module, true); // Define the tree $module->add_child($availinfo); @@ -422,7 +422,7 @@ class backup_course_structure_step extends backup_structure_step { $this->add_plugin_structure('coursereport', $course, true); // attach plagiarism plugin structure to $course element, only one allowed - $this->add_plugin_structure('plagiarism', $course, false); + $this->add_plugin_structure('plagiarism', $course, true); // Build the tree