You are here

function ultimate_cron_update_6001 in Ultimate Cron 6

Implements hook_update_N().

File

./ultimate_cron.install, line 214
Installation file for Ultimate Cron

Code

function ultimate_cron_update_6001() {
  $ret = array();

  // Convert polling latency from microseconds to miliseconds.
  $polling_latency = variable_get('ultimate_cron_queue_polling_latency', NULL);
  if ($polling_latency) {
    $polling_latency /= 1000;
    variable_set('ultimate_cron_queue_polling_latency', $polling_latency);
  }
  return $ret;
}