MDL-38113: Blind Marking grader email reveals submitters details

This commit is contained in:
Tim Lock 2013-02-20 13:18:11 +10:30 committed by Dan Poltawski
parent 24ace4b795
commit 9ecded01cc

View File

@ -3607,6 +3607,9 @@ class assign {
$info = new stdClass();
if ($blindmarking) {
$info->username = get_string('participant', 'assign') . ' ' . $uniqueidforuser;
$userfrom->firstname = get_string('participant', 'assign');
$userfrom->lastname = $uniqueidforuser;
$userfrom->email = $CFG->noreplyaddress;
} else {
$info->username = fullname($userfrom, true);
}