Commit e8eeb1e9 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Add page title to new access notification subject"

parents 9286fe98 479fe597
......@@ -67,7 +67,7 @@ $string['newcontactus'] = 'New contact us';
$string['newviewaccessmessage'] = 'You have been added to the access list for the page "%s" by %s';
$string['newviewaccessmessagenoowner'] = 'You have been added to the access list for the page "%s"';
$string['newviewaccesssubject'] = 'New page access';
$string['newviewaccesssubject1'] = 'New access to page "%s"';
$string['viewmodified'] = 'has changed their page';
$string['ongroup'] = 'on group';
......
......@@ -1308,7 +1308,7 @@ class ActivityTypeViewaccess extends ActivityType {
}
public function get_subject($user) {
return get_string('newviewaccesssubject', 'activity');
return get_string('newviewaccesssubject1', 'activity', $this->title);
}
public function get_message($user) {
......
Markdown is supported
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