Skip to content

Commit

Permalink
MDL-10028, adding a string
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Nov 22, 2007
1 parent 3db14d7 commit a5c67cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en_utf8/message.php
Expand Up @@ -33,6 +33,7 @@
$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';
Expand Down
2 changes: 1 addition & 1 deletion user/messageselect.php
Expand Up @@ -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) {
Expand Down

0 comments on commit a5c67cd

Please sign in to comment.