You are here

function location_update_6 in Location 7.3

Same name and namespace in other branches
  1. 5.3 location.install \location_update_6()
  2. 5 location.install \location_update_6()
  3. 6.3 location.install \location_update_6()
  4. 7.5 location.install \location_update_6()
  5. 7.4 location.install \location_update_6()

Legacy update 6.

Use correct country code for Sweeden.

File

./location.install, line 465
Install, update and uninstall functions for the location module.

Code

function location_update_6() {
  db_update('location')
    ->fields(array(
    'country' => 'se',
  ))
    ->condition('country', 'sw')
    ->execute();
}