mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-28548 allow backup to contain info from multiple plagiarism plugins.
This commit is contained in:
parent
ca3e8e98a4
commit
040aa0880b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user