Fix the issue with Assets with macro based content not showing the new content to Visitors. Fixes bug #11200.
This commit is contained in:
parent
21e1ac8da6
commit
e1c77cf314
7 changed files with 70 additions and 11 deletions
|
|
@ -2,6 +2,7 @@
|
|||
- fixed #11250: i18n Asset_EMSSubmissionForm::delete created items label help
|
||||
- fixed #11251: perload.perl tries to load t/lib/WebGUI/Test.pm
|
||||
- fixed #11249: Recaptcha https bug
|
||||
- fixed #11200: Navigation in AssetProxy cached in browser
|
||||
|
||||
7.8.5
|
||||
- added the EMS submission subsystem
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ my $quiet; # this line required
|
|||
my $session = start(); # this line required
|
||||
|
||||
# upgrade functions go here
|
||||
addMaxCacheOverrideSetting($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -44,6 +45,16 @@ finish($session); # this line required
|
|||
# print "DONE!\n" unless $quiet;
|
||||
#}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Describe what our function does
|
||||
sub addMaxCacheOverrideSetting {
|
||||
my $session = shift;
|
||||
print "\tAdding maximum cache timeout setting... " unless $quiet;
|
||||
# and here's our code
|
||||
$session->setting->add('maxCacheTimeout', 86400) unless $session->setting->has('maxCacheTimeout');
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
|
||||
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue