// Return the root element (events)
return $events;
}
- }
+}
+
/**
* structure step in charge of constructing the gradebook.xml file for all the gradebook config in the course
* NOTE: the backup of the grade items themselves is handled by backup_activity_grades_structure_step
}
protected function after_execute() {
- global $DB;
// Add related files
$this->add_related_files('calendar', 'event_description', 'event_description');
}
- }
-
+}
class restore_course_completion_structure_step extends restore_structure_step {