Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…it with comment changes
  • Loading branch information...
commit a8562f6c0163bc9876beb9c5bc6d6d5c10ef9eb0 2 parents e8e1ad9 + e8ce08c
@samhemelryk samhemelryk authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 backup/moodle2/backup_stepslib.php
View
10 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
Please sign in to comment.
Something went wrong with that request. Please try again.