- fix: WeatherData asset not displaying properly

- rfe: Weather-Data not only for US-Cities
 - rfe: WeatherData Asset - Convert to International format
This commit is contained in:
JT Smith 2007-02-25 18:55:10 +00:00
parent 4469301092
commit 2ae31ce34b
8 changed files with 96 additions and 85 deletions

View file

@ -1,5 +1,8 @@
7.3.11
- Added an option for enabling coverage tests to testCodebase.pl.
- fix: WeatherData asset not displaying properly
- rfe: Weather-Data not only for US-Cities
- rfe: WeatherData Asset - Convert to International format
- fix: Off by 1 error while displaying ad impressions (perlDreamer Consulting, LLC)
7.3.10

View file

@ -7,6 +7,15 @@ upgrading from one version to the next, or even between multiple
versions. Be sure to heed the warnings contained herein as they will
save you many hours of grief.
7.3.11
--------------------------------------------------------------------
* The weather data asset stopped working because our old weather
provider went away. We've remade the weather asset using a data
feed from weather.com. The feed is free, but you'll have to
register to use it on your site. The up side is that the weather
asset now supports international cities.
7.3.10
--------------------------------------------------------------------
* This version fixes a bug in the 7.2.3-7.3.0 upgrade where the

View file

@ -20,17 +20,18 @@ my $quiet; # this line required
my $session = start(); # this line required
# upgrade functions go here
fixWeather($session);
finish($session); # this line required
##-------------------------------------------------
#sub exampleFunction {
# my $session = shift;
# print "\tWe're doing some stuff here that you should know about.\n" unless ($quiet);
# # and here's our code
#}
#-------------------------------------------------
sub fixWeather {
my $session = shift;
print "\tConverting WeatherData asset to use weather.com\n" unless ($quiet);
$session->db->write("alter table WeatherData add column partnerId varchar(100)");
$session->db->write("alter table WeatherData add column licenseKey varchar(100)");
}