Skip to content
Browse files

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

  • Loading branch information...
1 parent ca3e8e9 commit 040aa0880b254f5a8eabb7931afcd76b04ec9d5d @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
@@ -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 040aa08

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