You are here

function suggestion_cron in Autocomplete Search Suggestions 7

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

Implements hook_cron().

File

./suggestion.module, line 51
Autocomplete suggestions.

Code

function suggestion_cron() {
  if (!variable_get('suggestion_synced', TRUE)) {
    SuggestionHelper::index();
  }
}