function weather_update_6503 in Weather 6.5
Implementation of hook_update_N().
Change ICAO code of Bangalore, India from VOBG to VOBL, which is updated more often.
File
- ./
weather.install, line 587 - Database installation of weather module.
Code
function weather_update_6503() {
$ret = array();
// Update spellings
$sql = "UPDATE {weather_icao} SET icao='VOBL' WHERE icao='VOBG'";
$ret[] = update_sql($sql);
return $ret;
}