Fix the name of the ConvertUTCToTZ macro in config files. Fixes bug #11576.
This commit is contained in:
parent
d3cd81f759
commit
e03f754bce
3 changed files with 15 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
7.9.6
|
||||
- fixed #11577: Gallery Album: "Sort by" radio list missing in "Add Archive" view
|
||||
- fixed #11576: Default WebGUI config has a bad macro
|
||||
|
||||
7.9.5
|
||||
- Asset->www_copy now has a progress bar
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ my $quiet; # this line required
|
|||
my $session = start(); # this line required
|
||||
|
||||
# upgrade functions go here
|
||||
fixConvertUTCMacroName($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -45,6 +46,18 @@ finish($session); # this line required
|
|||
#}
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Describe what our function does
|
||||
sub fixConvertUTCMacroName {
|
||||
my $session = shift;
|
||||
print "\tFix the name of the ConvertUTCToTZ macro in the config file... " unless $quiet;
|
||||
$session->config->deleteFromHash('macros', 'ConvertToUTC');
|
||||
$session->config->addToHash('macros', 'ConvertUTCToTZ', 'ConvertUTCToTZ');
|
||||
# and here's our code
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
|
||||
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -790,7 +790,7 @@
|
|||
"BackToSite" : "BackToSite",
|
||||
"CanEditText" : "CanEditText",
|
||||
"CartItemCount" : "CartItemCount",
|
||||
"ConvertToUTC" : "ConvertToUTC",
|
||||
"ConvertUTCToTZ" : "ConvertUTCToTZ",
|
||||
"c" : "c_companyName",
|
||||
"D" : "D_date",
|
||||
"DeactivateAccount": "DeactivateAccount",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue