function node_update_7009
Convert node languages from the empty string to LANGUAGE_NONE.
Related topics
Archivo
- drupal-7.x/
modules/ node/ node.install, line 807 - Install, update and uninstall functions for the node module.
Código
function node_update_7009() {
db_update('node')->fields(array('language' => LANGUAGE_NONE))->condition('language', '')->execute();
}