backup MDL-22254 Added backup and restore of course completion information
[moodle.git] / backup / moodle2 / restore_final_task.class.php
index 69a639c..9febd72 100644 (file)
@@ -47,6 +47,9 @@ class restore_final_task extends restore_task {
             $this->add_step(new restore_gradebook_structure_step('gradebook_step','gradebook.xml'));
         }
 
+        // Course completion
+        $this->add_step(new restore_course_completion_structure_step('course_completion', 'completion.xml'));
+
         // Review all the module_availability records in backup_ids in order
         // to match them with existing modules / grade items.
         $this->add_step(new restore_process_course_modules_availability('process_modules_availability'));