Permalink
Browse files

Merged branch 'm20_MDL-28548' of git://github.com/danmarsden/moodle.g…

…it with comment changes
  • Loading branch information...
samhemelryk committed Aug 2, 2011
2 parents e8e1ad9 + e8ce08c commit a8562f6c0163bc9876beb9c5bc6d6d5c10ef9eb0
Showing with 6 additions and 4 deletions.
  1. +6 −4 backup/moodle2/backup_stepslib.php
@@ -321,8 +321,9 @@ protected function define_structure() {
// 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 @@ protected function define_structure() {
// 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

0 comments on commit a8562f6

Please sign in to comment.