MDL-28548 Fixed up misleading comments

This commit is contained in:
Sam Hemelryk 2011-08-02 11:42:40 +08:00
parent 040aa0880b
commit 3d738ce735

View File

@ -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