mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 23:42:11 +02:00
MDL-22895 backup: minor fixes
This commit is contained in:
parent
f229d83c11
commit
6565d55a34
@ -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
|
||||
|
@ -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 {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user