Skip to content
Browse files

MDL-28548 allow backup to contain info from multiple plagiarism plugins.

  • Loading branch information...
1 parent f84058a commit e8ce08c33185735997c860f68460e95a9c0a8f6a @danmarsden danmarsden committed Aug 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 backup/moodle2/backup_stepslib.php
View
4 backup/moodle2/backup_stepslib.php
@@ -322,7 +322,7 @@ protected function define_structure() {
$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);
@@ -424,7 +424,7 @@ protected function define_structure() {
$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

0 comments on commit e8ce08c

Please sign in to comment.
Something went wrong with that request. Please try again.