MDL-45571 events: included enrolment method in the 'user_enrolment_created' event description

This commit is contained in:
Mark Nelson 2014-05-15 14:20:34 -07:00
parent c1ed254643
commit 10dbb4bae0

View file

@ -65,8 +65,8 @@ class user_enrolment_created extends base {
* @return string * @return string
*/ */
public function get_description() { public function get_description() {
return "The user with id '$this->userid' enrolled the user with id '$this->relateduserid' in the course with " . return "The user with id '$this->userid' enrolled the user with id '$this->relateduserid' using the enrolment method " .
"id '$this->courseid'."; "'{$this->other['enrol']}' in the course with id '$this->courseid'.";
} }
/** /**