mirror of
https://github.com/moodle/moodle.git
synced 2025-03-03 15:29:08 +01:00
Merge branch 'wip-mdl-41849' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
22379484fd
@ -1513,7 +1513,7 @@ function quiz_send_confirmation($recipient, $a) {
|
||||
$eventdata->name = 'confirmation';
|
||||
$eventdata->notification = 1;
|
||||
|
||||
$eventdata->userfrom = get_admin();
|
||||
$eventdata->userfrom = core_user::get_noreply_user();
|
||||
$eventdata->userto = $recipient;
|
||||
$eventdata->subject = get_string('emailconfirmsubject', 'quiz', $a);
|
||||
$eventdata->fullmessage = get_string('emailconfirmbody', 'quiz', $a);
|
||||
@ -1717,7 +1717,7 @@ function quiz_send_overdue_message($course, $quiz, $attempt, $context, $cm) {
|
||||
$eventdata->name = 'attempt_overdue';
|
||||
$eventdata->notification = 1;
|
||||
|
||||
$eventdata->userfrom = get_admin();
|
||||
$eventdata->userfrom = core_user::get_noreply_user();
|
||||
$eventdata->userto = $submitter;
|
||||
$eventdata->subject = get_string('emailoverduesubject', 'quiz', $a);
|
||||
$eventdata->fullmessage = get_string('emailoverduebody', 'quiz', $a);
|
||||
|
Loading…
x
Reference in New Issue
Block a user