function system_update_7048
7.x system.install | system_update_7048() |
Convert path languages from the empty string to LANGUAGE_NONE.
Related topics
File
- drupal-7.x/
modules/ system/ system.install, line 2379 - 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();
}