Merge branch 'MDL-45650_master' of https://github.com/markn86/moodle

This commit is contained in:
Sam Hemelryk 2014-05-26 13:59:08 +12:00
commit c2182d24a4

View File

@ -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,