MDL-22895 backup: minor fixes

This commit is contained in:
Eloy Lafuente (stronk7) 2012-04-11 01:47:53 +02:00
parent f229d83c11
commit 6565d55a34
2 changed files with 3 additions and 4 deletions

View File

@ -802,7 +802,8 @@ class backup_calendarevents_structure_step extends backup_structure_step {
// 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

View File

@ -1661,12 +1661,10 @@ class restore_calendarevents_structure_step extends restore_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 {