function location_update_6 in Location 5
Same name and namespace in other branches
- 5.3 location.install \location_update_6()
- 6.3 location.install \location_update_6()
- 7.5 location.install \location_update_6()
- 7.3 location.install \location_update_6()
- 7.4 location.install \location_update_6()
File
- ./
location.install, line 210
Code
function location_update_6() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$ret[] = update_sql("UPDATE {location} SET country = 'se' WHERE country = 'sw'");
break;
case 'pgsql':
$ret[] = update_sql("UPDATE {location} SET country = 'se' WHERE country = 'sw'");
break;
}
return $ret;
}