mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-45650_master' of https://github.com/markn86/moodle
This commit is contained in:
commit
c2182d24a4
@ -190,7 +190,7 @@ if ($user->deleted) {
|
||||
// OK, security out the way, now we are showing the user.
|
||||
// Trigger a user profile viewed event.
|
||||
$event = \core\event\user_profile_viewed::create(array(
|
||||
'objectid' => $USER->id,
|
||||
'objectid' => $user->id,
|
||||
'relateduserid' => $user->id,
|
||||
'courseid' => $course->id,
|
||||
'context' => $coursecontext,
|
||||
|
Loading…
x
Reference in New Issue
Block a user