This commit is contained in:
Eloy Lafuente (stronk7)
2019-10-07 22:26:53 +02:00
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -285,6 +285,9 @@ 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 report plugin structure to $module element, multiple allowed.
$this->add_plugin_structure('report', $module, true);
// 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);
+3
View File
@@ -4180,6 +4180,9 @@ class restore_module_structure_step extends restore_structure_step {
// Apply for 'format' plugins optional paths at module level
$this->add_plugin_structure('format', $module);
// Apply for 'report' plugins optional paths at module level.
$this->add_plugin_structure('report', $module);
// Apply for 'plagiarism' plugins optional paths at module level
$this->add_plugin_structure('plagiarism', $module);