You are here

function _ultimate_cron_incompatible_modules in Ultimate Cron 6

Same name and namespace in other branches
  1. 8 ultimate_cron.module \_ultimate_cron_incompatible_modules()
  2. 7 ultimate_cron.module \_ultimate_cron_incompatible_modules()

Return a list of modules that are incompatible with Ultimate Cron

6 calls to _ultimate_cron_incompatible_modules()
ultimate_cron_cron in ./ultimate_cron.module
Implementation of hook_cron().
ultimate_cron_menu_alter in ./ultimate_cron.module
Implementation of hook_menu_alter().
ultimate_cron_requirements in ./ultimate_cron.install
Implementation of hook_requirements().
ultimate_cron_service_start in ./ultimate_cron.admin.inc
Run a single function.
ultimate_cron_trigger_poorman in ./ultimate_cron.module
Launch poorman cron if it's time to do so.

... See full list

File

./ultimate_cron.module, line 1385
@todo Add filter on overview page. @todo Add log view (with graph). @todo Make proper markup for overview page. @todo Refactor drush stuff, too many intimate relations with Background Process @todo Refactor Cron % offset stuff. Too mixed up and…

Code

function _ultimate_cron_incompatible_modules() {
  static $modules = NULL;
  if (isset($modules)) {
    return $modules;
  }
  $modules = array();
  $candidates = array(
    'parallel_cron',
  );
  foreach ($candidates as $module) {
    if (module_exists($module)) {
      $modules[$module] = ultimate_cron_module_name($module);
    }
  }
  return $modules;
}