function system_update_7048

Convert path languages from the empty string to LANGUAGE_NONE.

Related topics

File

modules/system/system.install, line 2508

Code

function system_update_7048() {
    db_update('url_alias')->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.