function weather_update_7 in Weather 5.6
Same name and namespace in other branches
- 6.5 weather.install \weather_update_7()
File
- ./
weather.install, line 418
Code
function weather_update_7() {
$ret = array();
// Change UID of the system weather block from 0 to -1
$sql = "UPDATE {weather_config} SET uid = -1 WHERE uid = 0";
$ret[] = update_sql($sql);
// Add Melbourne to ICAO codes
_weather_fill_icao_table();
return $ret;
}