MDL-29192 - clarify email_to_user call

This commit is contained in:
Dan Poltawski
2012-08-15 01:17:57 +02:00
committed by Eloy Lafuente (stronk7)
parent e4744c5896
commit 3403906010
+2 -1
View File
@@ -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) {