Merge branch 'MDL-24860_messaging_providers' of git://github.com/andyjdavis/moodle
[moodle.git] / mod / forum / lib.php
index 01e1c5c..c5b5bcc 100644 (file)
@@ -920,6 +920,7 @@ function forum_cron() {
 
                 $attachment = $attachname='';
                 $usetrueaddress = true;
+                //directly email forum digests rather than sending them via messaging
                 $mailresult = email_to_user($userto, $site->shortname, $postsubject, $posttext, $posthtml, $attachment, $attachname, $usetrueaddress, $CFG->forum_replytouser);
 
                 if (!$mailresult) {