Merged branch 'm20_MDL-28548' of git://github.com/danmarsden/moodle.git with comment changes
This commit is contained in:
@@ -321,8 +321,9 @@ class backup_module_structure_step extends backup_structure_step {
|
||||
// attach format plugin structure to $module element, only one allowed
|
||||
$this->add_plugin_structure('format', $module, false);
|
||||
|
||||
// attach plagiarism plugin structure to $module element, only one allowed
|
||||
$this->add_plugin_structure('plagiarism', $module, false);
|
||||
// attach plagiarism plugin structure to $module element, there can be potentially
|
||||
// many plagiarism plugins storing information about this course
|
||||
$this->add_plugin_structure('plagiarism', $module, true);
|
||||
|
||||
// Define the tree
|
||||
$module->add_child($availinfo);
|
||||
@@ -423,8 +424,9 @@ class backup_course_structure_step extends backup_structure_step {
|
||||
// course reports can save course data if required
|
||||
$this->add_plugin_structure('coursereport', $course, true);
|
||||
|
||||
// attach plagiarism plugin structure to $course element, only one allowed
|
||||
$this->add_plugin_structure('plagiarism', $course, false);
|
||||
// attach plagiarism plugin structure to $course element, there can be potentially
|
||||
// many plagiarism plugins storing information about this course
|
||||
$this->add_plugin_structure('plagiarism', $course, true);
|
||||
|
||||
// Build the tree
|
||||
|
||||
|
||||
Reference in New Issue
Block a user