Skip to content

Commit

Permalink
backup MDL-23362 commented out annotation of old/new ids for grade_gr…
Browse files Browse the repository at this point in the history
…ades and grade_settings as I dont think theyre required
  • Loading branch information
Andrew Davis committed Sep 16, 2010
1 parent 0bb7789 commit 0df2981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup/moodle2/restore_stepslib.php
Expand Up @@ -217,7 +217,7 @@ protected function process_grade_grade($data) {
$data->timemodified = $this->apply_date_offset($data->timemodified);

$newitemid = $DB->insert_record('grade_grades', $data);
$this->set_mapping('grade_grade', $oldid, $newitemid);
//$this->set_mapping('grade_grade', $oldid, $newitemid);
}
protected function process_grade_category($data) {
global $DB;
Expand Down Expand Up @@ -274,7 +274,7 @@ protected function process_grade_setting($data) {
$data->courseid = $this->get_courseid();

$newitemid = $DB->insert_record('grade_settings', $data);
$this->set_mapping('grade_setting', $oldid, $newitemid);
//$this->set_mapping('grade_setting', $oldid, $newitemid);
}

//put all activity grade items in the correct grade category and mark all for recalculation
Expand Down

0 comments on commit 0df2981

Please sign in to comment.