MDL-44257 Message: Update phpdocs for email_to_user function
authorDamyon Wiese <damyon@moodle.com>
Tue, 16 Sep 2014 07:06:36 +0000 (15:06 +0800)
committerDamyon Wiese <damyon@moodle.com>
Tue, 16 Sep 2014 07:08:08 +0000 (15:08 +0800)
lib/moodlelib.php

index 6b3c6ee..763d726 100644 (file)
@@ -5716,7 +5716,7 @@ function get_mailer($action='get') {
  * @param string $subject plain text subject line of the email
  * @param string $messagetext plain text version of the message
  * @param string $messagehtml complete html version of the message (optional)
- * @param string $attachment a file on the filesystem, relative to $CFG->dataroot
+ * @param string $attachment a file on the filesystem, either relative to $CFG->dataroot or a full path to a file in $CFG->tempdir
  * @param string $attachname the name of the file (extension indicates MIME)
  * @param bool $usetrueaddress determines whether $from email address should
  *          be sent out. Will be overruled by user profile setting for maildisplay