Get rid of old subscription tables. Fixes bug #11062
This commit is contained in:
parent
0bd7cd1859
commit
c169a901ab
2 changed files with 12 additions and 0 deletions
|
|
@ -20,6 +20,7 @@
|
|||
- fixed #11001: Shipping plugin returning nothing, causing price formatter to puke
|
||||
- fixed #11059: WebGUI upgrade packages do not overwrite versions in the db
|
||||
- fixed #11064: spelling error
|
||||
- fixed #11062: subscriptionCode
|
||||
|
||||
7.8.0
|
||||
- upgraded YUI to 2.8.0r4
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ my $session = start(); # this line required
|
|||
|
||||
fixWikis( $session );
|
||||
fixEMSTemplates( $session );
|
||||
removeOldSubscriptionTables( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -45,6 +46,16 @@ finish($session); # this line required
|
|||
# print "DONE!\n" unless $quiet;
|
||||
#}
|
||||
|
||||
# Describe what our function does
|
||||
sub removeOldSubscriptionTables {
|
||||
my $session = shift;
|
||||
print "\tRemoving tables leftover from the old 7.5 Commerce System... " unless $quiet;
|
||||
$session->db->write('DROP TABLE IF EXISTS subscriptionCode');
|
||||
$session->db->write('DROP TABLE IF EXISTS subscriptionCodeBatch');
|
||||
$session->db->write('DROP TABLE IF EXISTS subscriptionCodeSubscriptions');
|
||||
print "Done.\n" unless $quiet;
|
||||
}
|
||||
|
||||
# Describe what our function does
|
||||
sub fixWikis {
|
||||
my $session = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue