You are here

function domain_cron_status in Domain Access 7.2

Same name and namespace in other branches
  1. 7.3 domain.module \domain_cron_status()

Gets the status of cron.

Parameters

$status: Pass a value to set status. No value to retrieve status.

Return value

Boolean TRUE or FALSE.

2 calls to domain_cron_status()
domain_cron_queue_info_alter in ./domain.module
Implements hook_domain_cron_queue_info_alter().
domain_grant_all in ./domain.module
Activate the hidden grant for searches.

File

./domain.module, line 2343
Core module functions for the Domain Access suite.

Code

function domain_cron_status($status = NULL) {
  $return =& drupal_static(__FUNCTION__, FALSE);
  if (is_null($status)) {
    return $return;
  }
  $return = $status;
  return $return;
}