summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-30 08:16:50 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-30 08:16:50 +0000
commit0deb8933300b892b29e1b07bbb95ed776c33a387 (patch)
tree59aaf2c04c90efe4c8aa80da092eb3e4411c9bc4 /roundcubemail/program
parenta42a9af5f4b869c84ec1a67268f74b365bd0e8bc (diff)
- Make 5th argument of rcmail_deliver_message() optional
git-svn-id: https://svn.roundcube.net/trunk@5148 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/include/main.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc
index edd74f860..7e85e01fb 100644
--- a/roundcubemail/program/include/main.inc
+++ b/roundcubemail/program/include/main.inc
@@ -1653,12 +1653,13 @@ function rcmail_replace_emoticons($html)
* @param string $from Sender address string
* @param array $mailto Array of recipient address strings
* @param array $smtp_error SMTP error array (reference)
- * @param string $body_file Location of file with saved message body (reference)
+ * @param string $body_file Location of file with saved message body (reference),
+ * used when delay_file_io is enabled
* @param array $smtp_opts SMTP options (e.g. DSN request)
*
* @return boolean Send status.
*/
-function rcmail_deliver_message(&$message, $from, $mailto, &$smtp_error, &$body_file, $smtp_opts=null)
+function rcmail_deliver_message(&$message, $from, $mailto, &$smtp_error, &$body_file=null, $smtp_opts=null)
{
global $CONFIG, $RCMAIL;