Remove the Underground User style template, and fix the problem is tried to fix by changing the navigation. Fixes bug #12172
This commit is contained in:
parent
720c06a50a
commit
204108e178
3 changed files with 17 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
- Allow specific expirations for groups in userImport.pl
|
||||
- fixed #12164: Calendar feeds with tons of ;adminId=XXXXXX added
|
||||
- fixed #12167: Calendar Next/Prev Month/Year confusion
|
||||
- fixed #12172: Underground User Style template shows up in Style wizard during site creation
|
||||
|
||||
7.10.18
|
||||
- fixed #12138: Version tag gets create by entering and direct leaving
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -35,6 +35,7 @@ my $session = start(); # this line required
|
|||
# upgrade functions go here
|
||||
addTicketLimitToBadgeGroup( $session );
|
||||
fixBrokenCalendarFeedUrls ( $session );
|
||||
removeUndergroundUserStyleTemplate ( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -67,6 +68,21 @@ sub fixBrokenCalendarFeedUrls {
|
|||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Add a ticket limit to badges in a badge group
|
||||
sub removeUndergroundUserStyleTemplate {
|
||||
my $session = shift;
|
||||
print "\tRemove Underground User Style template... " unless $quiet;
|
||||
if ($session->setting->get('userFunctionStyleId') eq 'zfDnOJgeiybz9vnmoEXRXA') {
|
||||
$session->setting->set('userFunctionStyleId', 'Qk24uXao2yowR6zxbVJ0xA');
|
||||
}
|
||||
my $underground_user = WebGUI::Asset->newByDynamicClass($session, 'zfDnOJgeiybz9vnmoEXRXA');
|
||||
if ($underground_user) {
|
||||
$underground_user->purge;
|
||||
}
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Add a ticket limit to badges in a badge group
|
||||
sub addTicketLimitToBadgeGroup {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue