mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +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
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function get_description() {
|
public function get_description() {
|
||||||
return "The user with id '$this->userid' unenrolled the user with id '$this->relateduserid' from the course with " .
|
return "The user with id '$this->userid' unenrolled the user with id '$this->relateduserid' using the enrolment method " .
|
||||||
"id '$this->courseid'.";
|
"'{$this->other['enrol']}' from the course with id '$this->courseid'.";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -65,8 +65,8 @@ class user_enrolment_updated extends base {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function get_description() {
|
public function get_description() {
|
||||||
return "The user with id '$this->userid' updated the enrolment for the user with id '$this->relateduserid' in " .
|
return "The user with id '$this->userid' updated the enrolment for the user with id '$this->relateduserid' using the " .
|
||||||
"the course with id '$this->courseid'.";
|
"enrolment method '{$this->other['enrol']}' in the course with id '$this->courseid'.";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue