Skip to content

Commit

Permalink
MDL-42021 enrol: Missing objectid in enrolment_deleted event
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Massart committed Oct 2, 2013
1 parent a929e5e commit 4fb6600
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/enrollib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,7 @@ public function unenrol_user(stdClass $instance, $userid) {
'courseid' => $courseid,
'context' => $context,
'relateduserid' => $ue->userid,
'objectid' => $ue->id,
'other' => array(
'userenrolment' => (array)$ue,
'enrol' => $name
Expand Down

0 comments on commit 4fb6600

Please sign in to comment.