Skip to content

Commit

Permalink
Reworded PHPdoc email_send_all() function description
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Nov 29, 2012
1 parent efdb61e commit 3be57b7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/email_api.php
Expand Up @@ -835,9 +835,11 @@ function email_store( $p_recipient, $p_subject, $p_message, $p_headers = null )
}

/**
* This function sends all the emails that are stored in the queue. If a failure occurs, then the
* function exists. This function will be called after storing emails in case of synchronous
* emails, or will be called from a cronjob in case of asynchronous emails.
* This function sends all the emails that are stored in the queue.
* It will be called
* - immediately after queueing messages in case of synchronous emails
* - from a cronjob in case of asynchronous emails
* If a failure occurs, then the function exits.
* @todo In case of synchronous email sending, we may get a race condition where two requests send the same email.
* @param bool $p_delete_on_failure indicates whether to remove email from queue on failure (default false)
* @return null
Expand Down

0 comments on commit 3be57b7

Please sign in to comment.