Merge branch 'USPS_int'

Adding International USPS driver.
This commit is contained in:
Colin Kuskie 2009-11-14 22:19:02 -08:00
commit 1fc291954d
8 changed files with 1211 additions and 4 deletions

View file

@ -16,6 +16,7 @@
- fixed #11229: ProgressBar throws errors on some messages.
- fixed #11217: LDAP authentication fails if user DN changes
- fixed #11228: Gallery image upload to other users folder permission denied
- added USPS International driver.
7.8.4
- Fixed a compatibility problem between WRE and new Spectre code.

View file

@ -33,7 +33,7 @@ fixPackageFlagOnOlder( $session );
addEMSSubmissionTables($session);
configEMSActivities($session);
removeOldWebGUICSS($session);
addUSPSInternationalShippingDriver( $session );
# upgrade functions go here
@ -174,6 +174,14 @@ ENDSQL
}
sub addUSPSInternationalShippingDriver {
my $session = shift;
print "\tAdd the USPS International shipping driver... " unless $quiet;
# and here's our code
$session->config->addToArray('shippingDrivers', 'WebGUI::Shop::ShipDriver::USPSInternational');
print "DONE!\n" unless $quiet;
}
sub fixPackageFlagOnOlder {
my $session = shift;
print "\tFixing isPackage flag on folders and isDefault on templates from 7.6.35 to 7.7.17 upgrade. If default templates have been deleted from your site, you may see warnings about not being able to find assets. You may safely ignore those warnings. This entire process may take a while.. " unless $quiet;