function system_update_7048 in Drupal 7
Convert path languages from the empty string to LANGUAGE_NONE.
Related topics
File
- modules/
system/ system.install, line 2489 - Install, update and uninstall functions for the system module.
Code
function system_update_7048() {
db_update('url_alias')
->fields(array(
'language' => LANGUAGE_NONE,
))
->condition('language', '')
->execute();
}