Merge branch 'MDL-45571_master' of https://github.com/markn86/moodle

This commit is contained in:
Dan Poltawski
2014-05-20 14:06:42 +08:00
+2 -2
View File
@@ -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'.";
}
/**