You are here

function drupal_clean_after_cron_run in Elysia Cron 6.2

1 call to drupal_clean_after_cron_run()
elysia_cron_cron in ./elysia_cron.module
Hook cron is invoked only by standard drupal cron. It's used to replace drupal cron.

File

./elysia_drupalconv.php, line 142

Code

function drupal_clean_after_cron_run() {

  // I must check for cron_semaphore and delete it if set (is not always deleted by elysia_cron_run, and this situation is only when called by drupal cron, so a check here is right)
  if (variable_get('cron_semaphore', false)) {
    global $conf;
    _ec_variable_del('cron_semaphore');
    $conf['cron_semaphore'] = false;
  }
}