From 3d738ce73575d64876e3c357eda5e84735ec9d6c Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Tue, 2 Aug 2011 11:42:40 +0800 Subject: [PATCH] MDL-28548 Fixed up misleading comments --- backup/moodle2/backup_stepslib.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backup/moodle2/backup_stepslib.php b/backup/moodle2/backup_stepslib.php index 0a1f9fa4efe..d1b5d244908 100644 --- a/backup/moodle2/backup_stepslib.php +++ b/backup/moodle2/backup_stepslib.php @@ -319,7 +319,8 @@ class backup_module_structure_step extends backup_structure_step { // 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 + // 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 @@ -421,7 +422,8 @@ class backup_course_structure_step extends backup_structure_step { // 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 + // 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