Commit 1ea5f1e2 authored by Mark Nelson's avatar Mark Nelson
Browse files

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

parent 8e478c99
......@@ -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'.";
}
/**
......
......@@ -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'.";
}
/**
......
......@@ -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'.";
}
......
......@@ -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'.";
}
......
......@@ -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'.";
}
......
......@@ -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'.";
}
/**
......
......@@ -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'.";
}
......
......@@ -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'.";
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment