Permalink
Browse files

MDL-29192 - clarify email_to_user call

  • Loading branch information...
danpoltawski committed Aug 7, 2012
1 parent 470d47f commit f2719728173a188b34a6ce709ae20ca69448e082
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/forum/lib.php
View
@@ -1014,7 +1014,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 f271972

Please sign in to comment.