Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-36650 don't change question timecreated or timemodified on restore.

  • Loading branch information...
commit c23513dbe4792a93fe0052e80293920a83f19ce3 1 parent 47dfbd9
Tim Hunt timhunt authored

Showing 1 changed file with 0 additions and 3 deletions. Show diff stats Hide diff stats

  1. +0 3  backup/moodle2/restore_stepslib.php
3  backup/moodle2/restore_stepslib.php
@@ -3072,9 +3072,6 @@ protected function process_question($data) {
3072 3072 $data->penalty = 1;
3073 3073 }
3074 3074
3075   - $data->timecreated = $this->apply_date_offset($data->timecreated);
3076   - $data->timemodified = $this->apply_date_offset($data->timemodified);
3077   -
3078 3075 $userid = $this->get_mappingid('user', $data->createdby);
3079 3076 $data->createdby = $userid ? $userid : $this->task->get_userid();
3080 3077

0 comments on commit c23513d

Please sign in to comment.
Something went wrong with that request. Please try again.