function lingotek_refresh_stored_workflows in Lingotek Translation 7.7
Refreshes stored workflows
1 call to lingotek_refresh_stored_workflows()
- lingotek_refresh_api_cache in ./
lingotek.util.inc - lingotek_refresh_api_cache utility
File
- ./
lingotek.util.inc, line 1720 - Utility functions.
Code
function lingotek_refresh_stored_workflows($workflows) {
$api = LingotekApi::instance();
foreach ($workflows as $workflow_id => $workflow) {
if (variable_get('lingotek_workflow_' . $workflow_id, FALSE)) {
$api
->getWorkflow($workflow_id, TRUE);
}
}
}