mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-45571 events: included enrolment method in the 'user_enrolment_created' event description
This commit is contained in:
parent
c1ed254643
commit
10dbb4bae0
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ class user_enrolment_created extends base {
|
|||
* @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'.";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue