Skip to content

Commit

Permalink
Merge branch 'MDL-43796_30_blindmarking' of https://github.com/SWiT/m…
Browse files Browse the repository at this point in the history
…oodle into MOODLE_30_STABLE
  • Loading branch information
David Monllao committed Nov 2, 2016
2 parents 8b2fb67 + b90aa95 commit 9e4c960
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mod/assign/backup/moodle2/restore_assign_stepslib.php
Expand Up @@ -94,6 +94,12 @@ protected function process_assign($data) {
$this->includesubmission = false;
}

// Reset revealidentities if blindmarking with no user data (MDL-43796).
$userinfo = $this->get_setting_value('userinfo');
if (!$userinfo && $data->blindmarking) {
$data->revealidentities = 0;
}

if (!empty($data->teamsubmissiongroupingid)) {
$data->teamsubmissiongroupingid = $this->get_mappingid('grouping',
$data->teamsubmissiongroupingid);
Expand Down

0 comments on commit 9e4c960

Please sign in to comment.