You are here

function _workflow_fix_seq in Workflow 6

Same name and namespace in other branches
  1. 5.2 workflow.install \_workflow_fix_seq()
  2. 5 workflow.install \_workflow_fix_seq()
  3. 6.2 workflow.install \_workflow_fix_seq()
1 call to _workflow_fix_seq()
workflow_update_4 in ./workflow.install

File

./workflow.install, line 224

Code

function _workflow_fix_seq($old_name, $new_name) {
  $new_name = db_prefix_tables($new_name);
  return update_sql("UPDATE {sequences} SET name = '" . $new_name . "' WHERE name = '" . $old_name . "'");
}