You are here

function xmlsitemap_update_7200 in XML sitemap 7.2

Update empty string languages to LANGUAGE_NONE.

File

./xmlsitemap.install, line 539
Install, update and uninstall functions for the xmlsitemap module.

Code

function xmlsitemap_update_7200() {
  db_update('xmlsitemap')
    ->fields(array(
    'language' => LANGUAGE_NONE,
  ))
    ->condition('language', '')
    ->execute();
}