Permalink
Browse files

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

  • Loading branch information...
1 parent 06b04e5 commit 263f258ae24fcb77d025de0fa0ef1d338df50f90 @danmarsden danmarsden committed Jul 31, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 backup/moodle2/backup_stepslib.php
@@ -320,7 +320,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);
@@ -422,7 +422,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 263f258

Please sign in to comment.