MDL-45630 events: removed unnecessary 'the' from event descriptions

This commit is contained in:
Mark Nelson
2014-05-31 15:27:11 -07:00
parent 8e478c99d3
commit 1ea5f1e2d3
138 changed files with 142 additions and 142 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ abstract class comment_created extends base {
*/
public function get_description() {
return "The user with id '$this->userid' added the comment with id '$this->objectid' to the '$this->component' " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -71,7 +71,7 @@ abstract class comment_deleted extends base {
*/
public function get_description() {
return "The user with id '$this->userid' deleted the comment with id '$this->objectid' from the '$this->component' " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -69,7 +69,7 @@ class course_module_created extends base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' created the '{$this->other['modulename']}' activity with the " .
return "The user with id '$this->userid' created the '{$this->other['modulename']}' activity with " .
"course module id '$this->contextinstanceid'.";
}
+1 -1
View File
@@ -68,7 +68,7 @@ class course_module_deleted extends base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' deleted the '{$this->other['modulename']}' activity with the " .
return "The user with id '$this->userid' deleted the '{$this->other['modulename']}' activity with " .
"course module id '$this->contextinstanceid'.";
}
+1 -1
View File
@@ -69,7 +69,7 @@ class course_module_updated extends base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' updated the '{$this->other['modulename']}' activity with the " .
return "The user with id '$this->userid' updated the '{$this->other['modulename']}' activity with " .
"course module id '$this->contextinstanceid'.";
}
+1 -1
View File
@@ -55,7 +55,7 @@ abstract class course_module_viewed extends base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' viewed the '{$this->objecttable}' activity with the " .
return "The user with id '$this->userid' viewed the '{$this->objecttable}' activity with " .
"course module id '$this->contextinstanceid'.";
}
@@ -69,7 +69,7 @@ class all_submissions_downloaded extends base {
*/
public function get_description() {
return "The user with id '$this->userid' has downloaded all the submissions for the assignment " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
@@ -78,7 +78,7 @@ class assessable_submitted extends base {
*/
public function get_description() {
return "The user with id '$this->userid' has submitted the submission with id '$this->objectid' " .
"for the assignment with the course module id '$this->contextinstanceid'.";
"for the assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -91,7 +91,7 @@ class batch_set_marker_allocation_viewed extends base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' viewed the batch set marker allocation for the assignment with the course " .
return "The user with id '$this->userid' viewed the batch set marker allocation for the assignment with course " .
"module id '$this->contextinstanceid'.";
}
@@ -91,7 +91,7 @@ class batch_set_workflow_state_viewed extends base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' viewed the batch set workflow for the assignment with the course " .
return "The user with id '$this->userid' viewed the batch set workflow for the assignment with course " .
"module id '$this->contextinstanceid'.";
}
@@ -71,7 +71,7 @@ class extension_granted extends base {
*/
public function get_description() {
return "The user with id '$this->userid' has granted an extension for the user with id '$this->relateduserid' " .
"for the assignment with the course module id '$this->contextinstanceid'.";
"for the assignment with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -89,7 +89,7 @@ class feedback_viewed extends base {
*/
public function get_description() {
return "The user with id '$this->userid' viewed the feedback for the user with id '$this->relateduserid' " .
"for the assignment with the course module id '$this->contextinstanceid'.";
"for the assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -95,7 +95,7 @@ class grading_form_viewed extends base {
*/
public function get_description() {
return "The user with id '$this->userid' viewed the grading form for the user with id '$this->relateduserid' " .
"for the assignment with the course module id '$this->contextinstanceid'.";
"for the assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -91,7 +91,7 @@ class grading_table_viewed extends base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' viewed the grading table for the assignment with the course module " .
return "The user with id '$this->userid' viewed the grading table for the assignment with course module " .
"id '$this->contextinstanceid'.";
}
@@ -68,7 +68,7 @@ class identities_revealed extends base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' has revealed identities in the assignment with the course module " .
return "The user with id '$this->userid' has revealed identities in the assignment with course module " .
"id '$this->contextinstanceid'.";
}
+1 -1
View File
@@ -83,7 +83,7 @@ class marker_updated extends base {
*/
public function get_description() {
return "The user with id '$this->userid' has set the marker for the user with id '$this->relateduserid' to " .
"'{$this->other['markerid']}' for the assignment with the course module id '$this->contextinstanceid'.";
"'{$this->other['markerid']}' for the assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -92,7 +92,7 @@ class reveal_identities_confirmation_page_viewed extends base {
*/
public function get_description() {
return "The user with id '$this->userid' viewed the confirmation page for revealing identities for the " .
"assignment with the course module id '$this->contextinstanceid'.";
"assignment with course module id '$this->contextinstanceid'.";
}
@@ -71,7 +71,7 @@ class statement_accepted extends base {
*/
public function get_description() {
return "The user with id '$this->userid' has accepted the statement of the submission with id '$this->objectid' " .
"for the assignment with the course module id '$this->contextinstanceid'.";
"for the assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -91,7 +91,7 @@ class submission_confirmation_form_viewed extends base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' viewed the submission confirmation form for the assignment with the " .
return "The user with id '$this->userid' viewed the submission confirmation form for the assignment with " .
"course module id '$this->contextinstanceid'.";
}
@@ -71,7 +71,7 @@ class submission_duplicated extends base {
*/
public function get_description() {
return "The user with id '$this->userid' duplicated their submission with id '$this->objectid' for the " .
"assignment with the course module id '$this->contextinstanceid'.";
"assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -90,17 +90,17 @@ class submission_form_viewed extends base {
/**
* Returns description of what happened.
*the course module id '$this->contextinstanceid'
*
* @return string
*/
public function get_description() {
if ($this->userid != $this->relateduserid) {
return "The user with id '$this->userid' viewed the submission form for the user with id '$this->relateduserid' " .
"for the assignment with the course module id '$this->contextinstanceid'.";
"for the assignment with course module id '$this->contextinstanceid'.";
}
return "The user with id '$this->userid' viewed their submission for the assignment with the course " .
"module id '$this->contextinstanceid'.";
return "The user with id '$this->userid' viewed their submission for the assignment with course module id " .
"'$this->contextinstanceid'.";
}
/**
@@ -72,7 +72,7 @@ class submission_graded extends base {
*/
public function get_description() {
return "The user with id '$this->userid' has graded the submission '$this->objectid' for the user with " .
"id '$this->relateduserid' for the assignment with the course module id '$this->contextinstanceid'.";
"id '$this->relateduserid' for the assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -72,7 +72,7 @@ class submission_locked extends base {
*/
public function get_description() {
return "The user with id '$this->userid' locked the submission for the user with id '$this->relateduserid' for " .
"the assignment with the course module id '$this->contextinstanceid'.";
"the assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -73,7 +73,7 @@ class submission_status_updated extends base {
*/
public function get_description() {
return "The user with id '$this->userid' has updated the status of the submission with id '$this->objectid' for " .
"the assignment with the course module id '$this->contextinstanceid' to the status '{$this->other['newstatus']}'.";
"the assignment with course module id '$this->contextinstanceid' to the status '{$this->other['newstatus']}'.";
}
/**
@@ -93,7 +93,7 @@ class submission_status_viewed extends base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' has viewed the submission status page for the assignment with the " .
return "The user with id '$this->userid' has viewed the submission status page for the assignment with " .
"course module id '$this->contextinstanceid'.";
}
@@ -72,7 +72,7 @@ class submission_unlocked extends base {
*/
public function get_description() {
return "The user with id '$this->userid' locked the submission for the user with id '$this->relateduserid' " .
"for the assignment with the course module id '$this->contextinstanceid'.";
"for the assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -89,7 +89,7 @@ class submission_viewed extends base {
*/
public function get_description() {
return "The user with id '$this->userid' viewed the submission for the user with id '$this->relateduserid' for the " .
"assignment with the course module id '$this->contextinstanceid'.";
"assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -82,7 +82,7 @@ class workflow_state_updated extends base {
*/
public function get_description() {
return "The user with id '$this->userid' has set the workflow state of the user with id '$this->relateduserid' " .
"to the state '{$this->other['newstate']}' for the assignment with the course module id '$this->contextinstanceid'.";
"to the state '{$this->other['newstate']}' for the assignment with course module id '$this->contextinstanceid'.";
}
/**
@@ -50,6 +50,6 @@ class comment_created extends \core\event\comment_created {
*/
public function get_description() {
return "The user with id '$this->userid' added the comment with id '$this->objectid' to the submission " .
"with id '{$this->other['itemid']}' for the assignment with the course module id '$this->contextinstanceid'.";
"with id '{$this->other['itemid']}' for the assignment with course module id '$this->contextinstanceid'.";
}
}
@@ -50,6 +50,6 @@ class comment_deleted extends \core\event\comment_deleted {
*/
public function get_description() {
return "The user with id '$this->userid' deleted the comment with id '$this->objectid' from the submission " .
"with id '{$this->other['itemid']}' for the assignment with the course module id '$this->contextinstanceid'.";
"with id '{$this->other['itemid']}' for the assignment with course module id '$this->contextinstanceid'.";
}
}
@@ -50,7 +50,7 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
*/
public function get_description() {
return "The user with id '$this->userid' has uploaded a file to the submission with id '$this->objectid' " .
"in the assignment activity with the course module id '$this->contextinstanceid'.";
"in the assignment activity with course module id '$this->contextinstanceid'.";
}
/**
@@ -57,7 +57,7 @@ class submission_created extends \mod_assign\event\submission_created {
*/
public function get_description() {
$descriptionstring = "The user with id '$this->userid' created a file submission and uploaded " .
"'{$this->other['filesubmissioncount']}' file/s in the assignment with the course module id " .
"'{$this->other['filesubmissioncount']}' file/s in the assignment with course module id " .
"'$this->contextinstanceid'";
if (!empty($this->other['groupid'])) {
$descriptionstring .= " for the group with id '{$this->other['groupid']}'.";
@@ -57,7 +57,7 @@ class submission_updated extends \mod_assign\event\submission_updated {
*/
public function get_description() {
$descriptionstring = "The user with id '$this->userid' updated a file submission and uploaded " .
"'{$this->other['filesubmissioncount']}' file/s in the assignment with the course module id " .
"'{$this->other['filesubmissioncount']}' file/s in the assignment with course module id " .
"'$this->contextinstanceid'";
if (!empty($this->other['groupid'])) {
$descriptionstring .= " for the group with id '{$this->other['groupid']}'.";
@@ -49,7 +49,7 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
*/
public function get_description() {
return "The user with id '$this->userid' has saved an online text submission with id '$this->objectid' " .
"in the assignment activity with the course module id '$this->contextinstanceid'.";
"in the assignment activity with course module id '$this->contextinstanceid'.";
}
/**
@@ -57,7 +57,7 @@ class submission_created extends \mod_assign\event\submission_created {
*/
public function get_description() {
$descriptionstring = "The user with id '$this->userid' created an online text submission with " .
"'{$this->other['onlinetextwordcount']}' words in the assignment with the course module id " .
"'{$this->other['onlinetextwordcount']}' words in the assignment with course module id " .
"'$this->contextinstanceid'";
if (!empty($this->other['groupid'])) {
$descriptionstring .= " for the group with id '{$this->other['groupid']}'.";
@@ -57,7 +57,7 @@ class submission_updated extends \mod_assign\event\submission_updated {
*/
public function get_description() {
$descriptionstring = "The user with id '$this->userid' updated an online text submission with " .
"'{$this->other['onlinetextwordcount']}' words in the assignment with the course module id " .
"'{$this->other['onlinetextwordcount']}' words in the assignment with course module id " .
"'$this->contextinstanceid'";
if (!empty($this->other['groupid'])) {
$descriptionstring .= " for the group with id '{$this->other['groupid']}'.";
+1 -1
View File
@@ -62,7 +62,7 @@ class chapter_created extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' created the chapter with id '$this->objectid' for the book with the " .
return "The user with id '$this->userid' created the chapter with id '$this->objectid' for the book with " .
"course module id '$this->contextinstanceid'.";
}
+1 -1
View File
@@ -62,7 +62,7 @@ class chapter_deleted extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' deleted the chapter with id '$this->objectid' for the book with the " .
return "The user with id '$this->userid' deleted the chapter with id '$this->objectid' for the book with " .
"course module id '$this->contextinstanceid'.";
}
+1 -1
View File
@@ -62,7 +62,7 @@ class chapter_updated extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' updated the chapter with id '$this->objectid' for the book with the " .
return "The user with id '$this->userid' updated the chapter with id '$this->objectid' for the book with " .
"course module id '$this->contextinstanceid'.";
}
+1 -1
View File
@@ -62,7 +62,7 @@ class chapter_viewed extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' viewed the chapter with id '$this->objectid' for the book with the " .
return "The user with id '$this->userid' viewed the chapter with id '$this->objectid' for the book with " .
"course module id '$this->contextinstanceid'.";
}
@@ -60,7 +60,7 @@ class book_exported extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' has exported the book with the course module id '$this->contextinstanceid'.";
return "The user with id '$this->userid' has exported the book with course module id '$this->contextinstanceid'.";
}
/**
@@ -60,7 +60,7 @@ class book_printed extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' has printed the book with the course module id '$this->contextinstanceid'.";
return "The user with id '$this->userid' has printed the book with course module id '$this->contextinstanceid'.";
}
/**
@@ -62,8 +62,8 @@ class chapter_printed extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' has printed the chapter with id '$this->objectid' of the book with the
course module id '$this->contextinstanceid'.";
return "The user with id '$this->userid' has printed the chapter with id '$this->objectid' of the book with " .
"course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -41,7 +41,7 @@ class message_sent extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->relateduserid' has sent a message in the chat with the course module id
return "The user with id '$this->relateduserid' has sent a message in the chat with course module id
'$this->contextinstanceid'.";
}
+1 -1
View File
@@ -48,7 +48,7 @@ class sessions_viewed extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' has viewed the sessions of the chat with the course module id
return "The user with id '$this->userid' has viewed the sessions of the chat with course module id
'$this->contextinstanceid'.";
}
@@ -50,7 +50,7 @@ class answer_submitted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' made the choice with id '$this->objectid' in the choice activity
with the course module id '$this->contextinstanceid'.";
with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -50,7 +50,7 @@ class answer_updated extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' updated their choice with id '$this->objectid' in the choice activity
with the course module id '$this->contextinstanceid'.";
with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -59,7 +59,7 @@ class report_viewed extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' has viewed the report for the choice activity with the course module id
return "The user with id '$this->userid' has viewed the report for the choice activity with course module id
'$this->contextinstanceid'";
}
+1 -1
View File
@@ -50,6 +50,6 @@ class comment_created extends \core\event\comment_created {
*/
public function get_description() {
return "The user with id '$this->userid' added the comment with id '$this->objectid' to the database activity with " .
"the course module id '$this->contextinstanceid'.";
"course module id '$this->contextinstanceid'.";
}
}
+1 -1
View File
@@ -50,6 +50,6 @@ class comment_deleted extends \core\event\comment_deleted {
*/
public function get_description() {
return "The user with id '$this->userid' deleted the comment with id '$this->objectid' from the database activity with " .
"the course module id '$this->contextinstanceid'.";
"course module id '$this->contextinstanceid'.";
}
}
+1 -1
View File
@@ -71,7 +71,7 @@ class field_created extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' created the field with id '$this->objectid' for the data activity " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -70,7 +70,7 @@ class field_deleted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' deleted the field with id '$this->objectid' in the data activity " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -70,7 +70,7 @@ class field_updated extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' updated the field with id '$this->objectid' in the data activity " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -69,7 +69,7 @@ class record_created extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' created the data record with id '$this->objectid' for the data activity " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -69,7 +69,7 @@ class record_deleted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' deleted the data record with id '$this->objectid' in the data activity " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -69,7 +69,7 @@ class record_updated extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' updated the data record with id '$this->objectid' in the data activity " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -68,7 +68,7 @@ class template_updated extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' updated the template for the data activity with the course module " .
return "The user with id '$this->userid' updated the template for the data activity with course module " .
"id '$this->contextinstanceid'.";
}
+1 -1
View File
@@ -67,7 +67,7 @@ class template_viewed extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' viewed the template for the data activity with the course module " .
return "The user with id '$this->userid' viewed the template for the data activity with course module " .
"id '$this->contextinstanceid'.";
}
@@ -70,7 +70,7 @@ class response_deleted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' deleted the feedback for the user with id '$this->relateduserid' " .
"for the feedback activity with the course module id '$this->contextinstanceid'.";
"for the feedback activity with course module id '$this->contextinstanceid'.";
}
/**
@@ -73,7 +73,7 @@ class response_submitted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' created feedback for the user with id '$this->relateduserid' " .
"for the feedback activity with the course module id '$this->contextinstanceid'.";
"for the feedback activity with course module id '$this->contextinstanceid'.";
}
/**
@@ -50,7 +50,7 @@ class assessable_uploaded extends \core\event\assessable_uploaded {
*/
public function get_description() {
return "The user with id '$this->userid' has posted content in the forum post with id '$this->objectid' " .
"in the discussion '{$this->other['discussionid']}' located in the forum with the course module id " .
"in the discussion '{$this->other['discussionid']}' located in the forum with course module id " .
"'$this->contextinstanceid'.";
}
@@ -59,7 +59,7 @@ class discussion_created extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has created the discussion with id '$this->objectid' in the forum " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
@@ -60,7 +60,7 @@ class discussion_deleted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has deleted the discussion with id '$this->objectid' in the forum " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
@@ -59,7 +59,7 @@ class discussion_updated extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has updated the discussion with id '$this->objectid' in the forum " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
@@ -54,7 +54,7 @@ class discussion_viewed extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has viewed the discussion with id '$this->objectid' in the forum " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -61,7 +61,7 @@ class post_created extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has created the post with id '$this->objectid' in the discussion with " .
"id '{$this->other['discussionid']}' in the forum with the course module id '$this->contextinstanceid'.";
"id '{$this->other['discussionid']}' in the forum with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -61,7 +61,7 @@ class post_deleted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has deleted the post with id '$this->objectid' in the discussion with " .
"id '{$this->other['discussionid']}' in the forum with the course module id '$this->contextinstanceid'.";
"id '{$this->other['discussionid']}' in the forum with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -61,7 +61,7 @@ class post_updated extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has updated the post with id '$this->objectid' in the discussion with " .
"id '{$this->other['discussionid']}' in the forum with the course module id '$this->contextinstanceid'.";
"id '{$this->other['discussionid']}' in the forum with course module id '$this->contextinstanceid'.";
}
/**
@@ -58,7 +58,7 @@ class readtracking_disabled extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has disabled read tracking for the user with id '$this->relateduserid' " .
"in the forum with the course module id '$this->contextinstanceid'.";
"in the forum with course module id '$this->contextinstanceid'.";
}
/**
@@ -58,7 +58,7 @@ class readtracking_enabled extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has enabled read tracking for the user with id '$this->relateduserid' " .
"in the forum with the course module id '$this->contextinstanceid'.";
"in the forum with course module id '$this->contextinstanceid'.";
}
/**
@@ -58,7 +58,7 @@ class subscribers_viewed extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' has viewed the subscribers list for the forum with the course " .
return "The user with id '$this->userid' has viewed the subscribers list for the forum with course " .
"module id '$this->contextinstanceid'.";
}
@@ -58,7 +58,7 @@ class subscription_created extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' subscribed the user with id '$this->relateduserid' to the forum with the " .
return "The user with id '$this->userid' subscribed the user with id '$this->relateduserid' to the forum with " .
"course module id '$this->contextinstanceid'.";
}
@@ -58,7 +58,7 @@ class subscription_deleted extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' unsubscribed the user with id '$this->relateduserid' to the forum with the " .
return "The user with id '$this->userid' unsubscribed the user with id '$this->relateduserid' to the forum with " .
"course module id '$this->contextinstanceid'.";
}
@@ -59,7 +59,7 @@ class category_created extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' created the category with id '$this->objectid' for the " .
"glossary activity with the course module id '$this->contextinstanceid'.";
"glossary activity with course module id '$this->contextinstanceid'.";
}
/**
@@ -59,7 +59,7 @@ class category_deleted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' deleted the category with id '$this->objectid' in the " .
"glossary activity with the course module id '$this->contextinstanceid'.";
"glossary activity with course module id '$this->contextinstanceid'.";
}
/**
@@ -59,7 +59,7 @@ class category_updated extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' updated the category with id '$this->objectid' in the " .
"glossary activity with the course module id '$this->contextinstanceid'.";
"glossary activity with course module id '$this->contextinstanceid'.";
}
/**
@@ -50,6 +50,6 @@ class comment_created extends \core\event\comment_created {
*/
public function get_description() {
return "The user with id '$this->userid' added the comment with id '$this->objectid' to the glossary activity " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
}
@@ -50,6 +50,6 @@ class comment_deleted extends \core\event\comment_deleted {
*/
public function get_description() {
return "The user with id '$this->userid' deleted the comment with id '$this->objectid' from the glossary activity " .
"with the course module id '$this->contextinstanceid'.";
"with course module id '$this->contextinstanceid'.";
}
}
@@ -59,7 +59,7 @@ class entry_approved extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has approved the glossary entry with id '$this->objectid' for " .
"the glossary activity with the course module id '$this->contextinstanceid'.";
"the glossary activity with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -65,7 +65,7 @@ class entry_created extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has created the glossary entry with id '$this->objectid' for " .
"the glossary activity with the course module id '$this->contextinstanceid'.";
"the glossary activity with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -67,7 +67,7 @@ class entry_deleted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has deleted the glossary entry with id '$this->objectid' in " .
"the glossary activity with the course module id '$this->contextinstanceid'.";
"the glossary activity with course module id '$this->contextinstanceid'.";
}
/**
@@ -59,7 +59,7 @@ class entry_disapproved extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has disapproved the glossary entry with id '$this->objectid' for " .
"the glossary activity with the course module id '$this->contextinstanceid'.";
"the glossary activity with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -65,7 +65,7 @@ class entry_updated extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has updated the glossary entry with id '$this->objectid' in " .
"the glossary activity with the course module id '$this->contextinstanceid'.";
"the glossary activity with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -61,7 +61,7 @@ class entry_viewed extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has viewed the glossary entry with id '$this->objectid' in " .
"the glossary activity with the course module id '$this->contextinstanceid'.";
"the glossary activity with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -61,7 +61,7 @@ class essay_assessed extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has marked the essay with id '{$this->other['attemptid']}' and " .
"recorded a mark '$this->objectid' in the lesson with the course module id '$this->contextinstanceid'.";
"recorded a mark '$this->objectid' in the lesson with course module id '$this->contextinstanceid'.";
}
/**
@@ -71,7 +71,7 @@ class essay_attempt_viewed extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' viewed the essay grade for the user with id '$this->relateduserid' for " .
"the attempt with id '$this->objectid' for the lesson activity with the course module id '$this->contextinstanceid'.";
"the attempt with id '$this->objectid' for the lesson activity with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -77,7 +77,7 @@ class highscore_added extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' added a new highscore to the lesson activity with the course module " .
return "The user with id '$this->userid' added a new highscore to the lesson activity with course module " .
"id '$this->contextinstanceid'.";
}
@@ -69,7 +69,7 @@ class highscores_viewed extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' viewed the highscores for the lesson activity with the course module " .
return "The user with id '$this->userid' viewed the highscores for the lesson activity with course module " .
"id '$this->contextinstanceid'.";
}
+1 -1
View File
@@ -70,7 +70,7 @@ class lesson_ended extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' ended the lesson with the course module id '$this->contextinstanceid'.";
return "The user with id '$this->userid' ended the lesson with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -69,7 +69,7 @@ class lesson_started extends \core\event\base {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' started the lesson with the course module id '$this->contextinstanceid'.";
return "The user with id '$this->userid' started the lesson with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -57,7 +57,7 @@ class attempt_abandoned extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->relateduserid' has had their attempt with id '$this->objectid' marked as abandoned " .
"for the quiz with the course module id '$this->contextinstanceid'.";
"for the quiz with course module id '$this->contextinstanceid'.";
}
/**
@@ -59,7 +59,7 @@ class attempt_becameoverdue extends \core\event\base {
* @return string
*/
public function get_description() {
return "The quiz attempt with id '$this->objectid' belonging to the quiz with the course module id '$this->contextinstanceid' " .
return "The quiz attempt with id '$this->objectid' belonging to the quiz with course module id '$this->contextinstanceid' " .
"for the user with id '$this->relateduserid' became overdue.";
}
+1 -1
View File
@@ -60,7 +60,7 @@ class attempt_deleted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' deleted the attempt with id '$this->objectid' belonging to the quiz " .
"with the course module id '$this->contextinstanceid' for the user with id '$this->relateduserid'.";
"with course module id '$this->contextinstanceid' for the user with id '$this->relateduserid'.";
}
/**
@@ -67,7 +67,7 @@ class attempt_preview_started extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->relateduserid' has had their attempt with id '$this->objectid' previewed by " .
"the user with id '$this->userid' for the quiz with the course module id '$this->contextinstanceid'.";
"the user with id '$this->userid' for the quiz with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -66,7 +66,7 @@ class attempt_reviewed extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has had their attempt with id '$this->objectid' reviewed by the user " .
"with id '$this->relateduserid' for the quiz with the course module id '$this->contextinstanceid'.";
"with id '$this->relateduserid' for the quiz with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -50,7 +50,7 @@ class attempt_started extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->relateduserid' has started the attempt with id '$this->objectid' for the " .
"quiz with the course module id '$this->contextinstanceid'.";
"quiz with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -57,7 +57,7 @@ class attempt_submitted extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->relateduserid' has submitted the attempt with id '$this->objectid' for the " .
"quiz with the course module id '$this->contextinstanceid'.";
"quiz with course module id '$this->contextinstanceid'.";
}
/**
@@ -69,7 +69,7 @@ class attempt_summary_viewed extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has viewed the summary for the attempt with id '$this->objectid' belonging " .
"to the user with id '$this->relateduserid' for the quiz with the course module id '$this->contextinstanceid'.";
"to the user with id '$this->relateduserid' for the quiz with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -67,7 +67,7 @@ class attempt_viewed extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' has viewed the attempt with id '$this->objectid' belonging to the user " .
"with id '$this->relateduserid' for the quiz with the course module id '$this->contextinstanceid'.";
"with id '$this->relateduserid' for the quiz with course module id '$this->contextinstanceid'.";
}
/**
+1 -1
View File
@@ -66,7 +66,7 @@ class edit_page_viewed extends \core\event\base {
*/
public function get_description() {
return "The user with id '$this->userid' viewed the edit page for the quiz with " .
"the course module id '$this->contextinstanceid'.";
"course module id '$this->contextinstanceid'.";
}
/**

Some files were not shown because too many files have changed in this diff Show More