function weather_update_6500 in Weather 6.5
Implementation of hook_update_N().
Insert Kathmandu, Nepal.
File
- ./
weather.install, line 457 - Database installation of weather module.
Code
function weather_update_6500() {
$ret = array();
$sql = "INSERT INTO {weather_icao} (icao, country, name, latitude, longitude)\n VALUES ('VNKT', 'Nepal', 'Kathmandu', 27.696389, 85.358889)";
$ret[] = update_sql($sql);
return $ret;
}