You are here

function simplenews_get_expiration_time in Simplenews 6.2

Same name and namespace in other branches
  1. 7.2 includes/simplenews.mail.inc \simplenews_get_expiration_time()
  2. 7 includes/simplenews.mail.inc \simplenews_get_expiration_time()
1 call to simplenews_get_expiration_time()
simplenews_get_spool in includes/simplenews.mail.inc
This function allocates messages to be sent in current run.

File

includes/simplenews.mail.inc, line 381
Simplenews email send and spool handling

Code

function simplenews_get_expiration_time() {
  $timeout = variable_get('simplenews_spool_progress_expiration', 3600);
  $expiration_time = time() - $timeout;
  return $expiration_time;
}