MDL-21432 backup - restore of activity grade items added. Blame MDL-23701 for the...
[moodle.git] / backup / moodle2 / restore_activity_task.class.php
index 9c979f3..e4f3d03 100644 (file)
@@ -138,8 +138,8 @@ abstract class restore_activity_task extends restore_task {
             $this->add_step(new restore_comments_structure_step('activity_comments', 'comments.xml'));
         }
 
-        // TODO: Grades (module-related, rest of gradebook is restored later if possible: cats, calculations...)
-        //$this->add_step(new restore_activity_grades_structure_step('activity_grades', 'grades.xml'));
+        // Grades (module-related, rest of gradebook is restored later if possible: cats, calculations...)
+        $this->add_step(new restore_activity_grades_structure_step('activity_grades', 'grades.xml'));
 
         // TODO: Userscompletion (conditionally)
         if ($this->get_setting_value('userscompletion')) {