Remove copies of templates that were added as part of the 7.10.13 upgrade. Fix the upgrade package, too, in case people stop on .13.
This commit is contained in:
parent
5ca9da3784
commit
0bcdd9cc86
3 changed files with 16 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -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 --------------------------------
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue