diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 0e00eb728..dac2620d2 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -23,6 +23,7 @@ switch to the RichEdit asset. - added: Next and Previous GalleryAlbum links in the GalleryAlbum views - fixed: Shop: Variants in dropdown and on page + - fixed: OLD subscription table still hanging around? 7.5.12 - skipping this release diff --git a/docs/upgrades/upgrade_7.5.12-7.5.13.pl b/docs/upgrades/upgrade_7.5.12-7.5.13.pl index 6649ed010..37df03937 100644 --- a/docs/upgrades/upgrade_7.5.12-7.5.13.pl +++ b/docs/upgrades/upgrade_7.5.12-7.5.13.pl @@ -32,6 +32,7 @@ fixShop($session); addSelectableProfileTemplates($session); addCouponThankYouMessage($session); addRichEditMedia( $session ); +cleanUpOldSubscriptionTable( $session); finish($session); # this line required @@ -59,6 +60,15 @@ sub fixShop { print "DONE!\n" unless $quiet; } +#---------------------------------------------------------------------------- +sub cleanUpOldSubscriptionTable { + my $session = shift; + print "\tClean up the old subscription table.\n" unless $quiet; + my $db = $session->db; + $db->write("DROP TABLE Subscription_OLD"); + print "DONE!\n" unless $quiet; +} + #---------------------------------------------------------------------------- sub addSelectableProfileTemplates { my $session = shift; @@ -69,6 +79,7 @@ sub addSelectableProfileTemplates { $tmpl = $session->setting->get('editUserProfileTemplate') || 'PBtmpl0000000000000051'; $session->setting->remove('editUserProfileTemplate'); $session->setting->add('editUserProfileTemplate', $tmpl); + print "DONE!\n" unless $quiet; } #---------------------------------------------------------------------------- @@ -76,6 +87,7 @@ sub addCouponThankYouMessage { my $session = shift; print "\tAdding Thank You Message to Coupon table...\n" unless $quiet; $session->db->write('alter table FlatDiscount add column thankYouMessage mediumtext'); + print "DONE!\n" unless $quiet; }