diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 9a348a308..c718cf200 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -5,6 +5,7 @@ - fixed #12095: Shop admin screen has JS errors? - fixed #12097: GroupManager pop-up not working - fixed #12098: Missing template breaks WebGUI password recovery by email + - remove extra Underground style templates that were part of the 7.10.13 upgrade. 7.10.13 - added #12079: Carousel Auto Play diff --git a/docs/upgrades/packages-7.10.13/style-underground.wgpkg b/docs/upgrades/packages-7.10.13/style-underground.wgpkg index 2c0fd610e..0d4c9e8e6 100644 Binary files a/docs/upgrades/packages-7.10.13/style-underground.wgpkg and b/docs/upgrades/packages-7.10.13/style-underground.wgpkg differ diff --git a/docs/upgrades/upgrade_7.10.13-7.10.14.pl b/docs/upgrades/upgrade_7.10.13-7.10.14.pl index 3baf32403..4a3ae5bb3 100644 --- a/docs/upgrades/upgrade_7.10.13-7.10.14.pl +++ b/docs/upgrades/upgrade_7.10.13-7.10.14.pl @@ -32,6 +32,7 @@ my $session = start(); # this line required # upgrade functions go here addOrganizationsToTransaction($session); +removeDuplicateUndergroundStyleTemplates($session); finish($session); # this line required @@ -58,6 +59,20 @@ sub addOrganizationsToTransaction { print "DONE!\n" unless $quiet; } +#---------------------------------------------------------------------------- +# Describe what our function does +sub removeDuplicateUndergroundStyleTemplates { + my $session = shift; + print "\tRemove duplicate Underground Style templatess that were mistakenly added during the 7.10.13 upgrade... " unless $quiet; + # and here's our code + ASSETID: foreach my $assetId(qw/IeFioyemW2Ov-hFGFwD75A niYg8Da1sULTQnevZ8wYpw/) { + my $asset = WebGUI::Asset->newByDynamicClass($session, $assetId); + next ASSETID unless $asset; + $asset->purge; ##Kill it, crush it, grind its bits into dust. + } + print "DONE!\n" unless $quiet; +} + # -------------- DO NOT EDIT BELOW THIS LINE -------------------------------- #----------------------------------------------------------------------------