Skip to content

Commit

Permalink
MDL-33465 fix incorrect merge conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jun 8, 2012
1 parent ec3d3ed commit 78117cb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backup/moodle2/restore_stepslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,6 @@ public function process_section($data) {

// Annotate the section mapping, with restorefiles option if needed
$this->set_mapping('course_section', $oldid, $newitemid, $restorefiles);
$this->set_mapping('course_sectionnumber', $oldsection, $section->section);

// set the new course_section id in the task
$this->task->set_sectionid($newitemid);
Expand Down Expand Up @@ -2584,7 +2583,6 @@ protected function process_module($data) {
'course' => $this->get_courseid(),
'section' => 1);
$data->section = $DB->insert_record('course_sections', $sectionrec); // section 1
$this->set_mapping('course_sectionnumber', $oldsection, 1); // Assign unmatching sections to section 1.
}
$data->groupingid= $this->get_mappingid('grouping', $data->groupingid); // grouping
if (!$CFG->enablegroupmembersonly) { // observe groupsmemberonly
Expand Down

0 comments on commit 78117cb

Please sign in to comment.