function workflow_update_7006 in Workflow 7.2
Set historical records with no associated entity to "node".
Otherwise, they won't show up in the Workflow tab.
File
- ./
workflow.install, line 639 - Install, update and uninstall functions for the workflow module.
Code
function workflow_update_7006() {
db_update('workflow_node_history')
->fields(array(
'entity_type' => 'node',
))
->condition('entity_type', '')
->execute();
}