You are here

function lingotek_cron in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.4 lingotek.module \lingotek_cron()
  2. 7.5 lingotek.module \lingotek_cron()
  3. 7.6 lingotek.module \lingotek_cron()

Implements hook_cron().

Update the local cache of commonly used values.

File

./lingotek.module, line 2587

Code

function lingotek_cron() {

  // Fix failed language-specific targets
  lingotek_fix_failed_language_specific_targets();

  // remove locally cached values, so they will be refreshed next time they are needed
  variable_del('lingotek_project_defaults');
  variable_del('lingotek_workflow_defaults');
  variable_del('lingotek_vaults_defaults');
  LingotekLog::trace(__METHOD__ . ' ran');
}