Permalink
Browse files

MDL-29192 - clarify email_to_user call

  • Loading branch information...
danpoltawski authored and stronk7 committed Aug 7, 2012
1 parent e4744c5 commit 3403906010e4263fe355b40bdb960c9e1094962a
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/forum/lib.php
View
@@ -925,7 +925,8 @@ function forum_cron() {
$attachment = $attachname='';
$usetrueaddress = true;
- //directly email forum digests rather than sending them via messaging
+ // Directly email forum digests rather than sending them via messaging, use the
+ // site shortname as 'from name', the noreply address will be used by email_to_user.
$mailresult = email_to_user($userto, $site->shortname, $postsubject, $posttext, $posthtml, $attachment, $attachname, $usetrueaddress, $CFG->forum_replytouser);
if (!$mailresult) {

0 comments on commit 3403906

Please sign in to comment.