MDL-69855 mod_forum: Deprecate postmailinfolink lang string

With the info text and reply link text being split, this lang string
is no longer being used and should be deprecated.
This commit is contained in:
Jun Pataleta
2021-08-16 17:42:18 +08:00
parent 6a82cbc6ab
commit 6bd3db4fb5
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -2,3 +2,4 @@ cannotdeletediscussioninsinglediscussion,mod_forum
inpagereplysubject,mod_forum
overviewnumpostssince,mod_forum
overviewnumunread,mod_forum
postmailinfolink,mod_forum
+5 -3
View File
@@ -515,9 +515,6 @@ $string['postbymailsuccess_html'] = 'Your reply <a href="{$a->discussionurl}">{$
$string['postbyuser'] = '{$a->post} by {$a->user}';
$string['postincontext'] = 'See this post in context';
$string['postmailinfo'] = 'This is a copy of a message posted in {$a}.';
$string['postmailinfolink'] = 'This is a copy of a message posted in {$a->coursename}.
To reply click on this link: {$a->replylink}';
$string['postmailnow'] = '<p>This post will be mailed out immediately to all forum subscribers.</p>';
$string['postmailreply'] = 'To reply click on this link: {$a}';
$string['postmailsubject'] = '{$a->courseshortname}: {$a->subject}';
@@ -778,6 +775,11 @@ $string['showmoreusers'] = 'Show more users';
$string['viewconversation'] = 'View discussion';
$string['viewgrades'] = 'View grades';
// Deprecated since Moodle 4.0.
$string['postmailinfolink'] = 'This is a copy of a message posted in {$a->coursename}.
To reply click on this link: {$a->replylink}';
// Deprecated since Moodle 3.8.
$string['cannotdeletediscussioninsinglediscussion'] = 'You cannot delete the first post in a single discussion';
$string['inpagereplysubject'] = 'Re: {$a}';