Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
1ea5f1e2
Commit
1ea5f1e2
authored
May 19, 2014
by
Mark Nelson
Browse files
MDL-45630 events: removed unnecessary 'the' from event descriptions
parent
8e478c99
Changes
138
Hide whitespace changes
Inline
Side-by-side
lib/classes/event/comment_created.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
/**
...
...
lib/classes/event/comment_deleted.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
/**
...
...
lib/classes/event/course_module_created.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
...
...
lib/classes/event/course_module_deleted.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
...
...
lib/classes/event/course_module_updated.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
...
...
lib/classes/event/course_module_viewed.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
...
...
mod/assign/classes/event/all_submissions_downloaded.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
/**
...
...
mod/assign/classes/event/assessable_submitted.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
/**
...
...
mod/assign/classes/event/batch_set_marker_allocation_viewed.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
...
...
mod/assign/classes/event/batch_set_workflow_state_viewed.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
...
...
mod/assign/classes/event/extension_granted.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
/**
...
...
mod/assign/classes/event/feedback_viewed.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
/**
...
...
mod/assign/classes/event/grading_form_viewed.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
/**
...
...
mod/assign/classes/event/grading_table_viewed.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
...
...
mod/assign/classes/event/identities_revealed.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
...
...
mod/assign/classes/event/marker_updated.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
/**
...
...
mod/assign/classes/event/reveal_identities_confirmation_page_viewed.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
...
...
mod/assign/classes/event/statement_accepted.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
/**
...
...
mod/assign/classes/event/submission_confirmation_form_viewed.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
...
...
mod/assign/classes/event/submission_duplicated.php
View file @
1ea5f1e2
...
...
@@ -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
'."
;
}
/**
...
...
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment