function lingotek_cron in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.4 lingotek.module \lingotek_cron()
- 7.5 lingotek.module \lingotek_cron()
- 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');
}