You are here

function ultimate_cron_hook_info_alter in Ultimate Cron 7.2

Implements hook_hook_info_alter().

File

./ultimate_cron.module, line 767

Code

function ultimate_cron_hook_info_alter(&$hooks) {
  if (module_exists('background_process')) {
    $info = system_get_info('module', 'background_process');
    if (!empty($info['dependencies']) && in_array('progress', $info['dependencies'])) {
      $hooks['background_process_shutdown']['group'] = 'background_process';
    }
  }
}