Rename node type language variable names.
function node_update_8001() {
$types = db_query('SELECT type FROM {node_type}')
->fetchCol();
foreach ($types as $type) {
$node_type_language = update_variable_get('language_content_type_' . $type);
if (isset($node_type_language)) {
update_variable_set('node_type_language_' . $type, $node_type_language);
}
update_variable_del('language_content_type_' . $type);
}
}