You are here

function _subscriptions_mail_cron_is_running in Subscriptions 7

Same name and namespace in other branches
  1. 2.0.x subscriptions_mail/subscriptions_mail.module \_subscriptions_mail_cron_is_running()

Helper function to remember whether cron is running.

2 calls to _subscriptions_mail_cron_is_running()
subscriptions_mail_cron in ./subscriptions_mail.module
Implements hook_cron().
subscriptions_mail_mail_alter in ./subscriptions_mail.module
Implements hook_mail_alter().

File

./subscriptions_mail.module, line 42
Subscriptions module mail gateway.

Code

function _subscriptions_mail_cron_is_running($value = NULL) {
  static $cron_is_running = FALSE;
  if (isset($value)) {
    $cron_is_running = $value;
  }
  return $cron_is_running;
}