mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-10028, adding a string
This commit is contained in:
parent
3db14d77ec
commit
a5c67cdf34
@ -33,6 +33,7 @@ $string['message'] = 'Message';
|
||||
$string['messagehistory'] = 'Message History';
|
||||
$string['messages'] = 'Messages';
|
||||
$string['messaging'] = 'Messaging';
|
||||
$string['messagingdisabled'] = 'Messaging is disabled on this site, emails will be sent instead';
|
||||
$string['mycontacts'] = 'My Contacts';
|
||||
$string['newsearch'] = 'New search';
|
||||
$string['newonlymsg'] = 'Show only new';
|
||||
|
@ -71,7 +71,7 @@
|
||||
|
||||
// if messaging is disabled on site, we can still allow users with capabilities to send emails instead
|
||||
if (empty($CFG->messaging)) {
|
||||
notify("Messaging is disabled on this site, emails will be sent instead");
|
||||
notify(get_string('messagingdisabled','message'));
|
||||
}
|
||||
|
||||
if ($count) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user