function node_update_7009
Convert node languages from the empty string to LANGUAGE_NONE.
Related topics
File
-
modules/
node/ node.install, line 809
Code
function node_update_7009() {
db_update('node')->fields(array(
'language' => LANGUAGE_NONE,
))
->condition('language', '')
->execute();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.