You are here

function suggestion_cron in Autocomplete Search Suggestions 8

Same name and namespace in other branches
  1. 8.2 suggestion.module \suggestion_cron()
  2. 7 suggestion.module \suggestion_cron()
  3. 3.0.x suggestion.module \suggestion_cron()

Implements hook_cron().

File

./suggestion.module, line 17
Contains suggestion.module.

Code

function suggestion_cron() {
  if (!SuggestionHelper::getConfig('synced')) {
    SuggestionHelper::index();
  }
}