mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-45658 events: included enrolment method in the user_enrolment_deleted/updated event descriptions
This commit is contained in:
parent
c1ed254643
commit
81512b9856
2 changed files with 4 additions and 4 deletions
|
@ -66,8 +66,8 @@ class user_enrolment_deleted extends base {
|
|||
* @return string
|
||||
*/
|
||||
public function get_description() {
|
||||
return "The user with id '$this->userid' unenrolled the user with id '$this->relateduserid' from the course with " .
|
||||
"id '$this->courseid'.";
|
||||
return "The user with id '$this->userid' unenrolled the user with id '$this->relateduserid' using the enrolment method " .
|
||||
"'{$this->other['enrol']}' from the course with id '$this->courseid'.";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -65,8 +65,8 @@ class user_enrolment_updated extends base {
|
|||
* @return string
|
||||
*/
|
||||
public function get_description() {
|
||||
return "The user with id '$this->userid' updated the enrolment for the user with id '$this->relateduserid' in " .
|
||||
"the course with id '$this->courseid'.";
|
||||
return "The user with id '$this->userid' updated the enrolment for 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