Merge branch 'MDL-42263-405' of https://github.com/Jayce0808/moodle into MOODLE_405_STABLE

This commit is contained in:
Mihail Geshoski
2025-06-18 16:17:06 +08:00
+2
View File
@@ -6634,6 +6634,7 @@ class assign {
global $USER;
$userid = core_user::is_real_user($userfrom->id) ? $userfrom->id : $USER->id;
$uniqueid = $this->get_uniqueid_for_user($userid);
$oldforcelang = force_current_language($userto->lang);
self::send_assignment_notification($userfrom,
$userto,
$messagetype,
@@ -6646,6 +6647,7 @@ class assign {
$this->get_instance()->name,
$this->is_blind_marking(),
$uniqueid);
force_current_language($oldforcelang);
}
/**