mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-29192' of git://github.com/danpoltawski/moodle
This commit is contained in:
commit
1135ae4908
@ -1015,7 +1015,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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user