function simplenews_get_expiration_time in Simplenews 7
Same name and namespace in other branches
- 6.2 includes/simplenews.mail.inc \simplenews_get_expiration_time()
- 7.2 includes/simplenews.mail.inc \simplenews_get_expiration_time()
2 calls to simplenews_get_expiration_time()
- simplenews_count_spool in includes/
simplenews.mail.inc - Count data in mail spool table.
- simplenews_get_spool in includes/
simplenews.mail.inc - This function allocates messages to be sent in current run.
File
- includes/
simplenews.mail.inc, line 354 - Simplenews email send and spool handling
Code
function simplenews_get_expiration_time() {
$timeout = variable_get('simplenews_spool_progress_expiration', 3600);
$expiration_time = REQUEST_TIME - $timeout;
return $expiration_time;
}