You are here

function social_content_cron_alter in Social Content 7

Same name and namespace in other branches
  1. 7.2 social_content.module \social_content_cron_alter()

Implements hook_cron_alter().

If we are using elysia cron, then remove the default social_content_cron. We don't want it running multiple times.

File

./social_content.module, line 186
Social Content module.

Code

function social_content_cron_alter(&$data) {
  if (isset($data['social_content_cron']) && module_exists('elysia_cron')) {
    unset($data['social_content_cron']);
  }
}