Skip to content

Commit

Permalink
MDL-45571 events: included enrolment method in the 'user_enrolment_cr…
Browse files Browse the repository at this point in the history
…eated' event description
  • Loading branch information
mdjnelson authored and danpoltawski committed May 20, 2014
1 parent 740cb94 commit 38ef7ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/classes/event/user_enrolment_created.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public static function get_name() {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' enrolled the user with id '$this->relateduserid' in the course with " .
"id '$this->courseid'.";
return "The user with id '$this->userid' enrolled the user with id '$this->relateduserid' using the enrolment method " .
"'{$this->other['enrol']}' in the course with id '$this->courseid'.";
}

/**
Expand Down

0 comments on commit 38ef7ab

Please sign in to comment.