From 6ac46be8bd675553dc4df926a32ac251452e3797 Mon Sep 17 00:00:00 2001 From: Scott Walters Date: Thu, 30 Jun 2011 14:41:50 -0400 Subject: [PATCH] Missed upgrade script for the FormField macro. Here's it. --- docs/upgrades/upgrade_7.10.19-7.10.20.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/upgrades/upgrade_7.10.19-7.10.20.pl b/docs/upgrades/upgrade_7.10.19-7.10.20.pl index 6a3a0ebb7..62e8ab20c 100644 --- a/docs/upgrades/upgrade_7.10.19-7.10.20.pl +++ b/docs/upgrades/upgrade_7.10.19-7.10.20.pl @@ -27,11 +27,18 @@ use WebGUI::Asset; my $toVersion = '7.10.20'; my $quiet; # this line required - my $session = start(); # this line required +addFormFieldMacroToConfig(); + # upgrade functions go here +sub addFormFieldMacroToConfig { + print "\tAdd FormField macro to config... " unless $quiet; + $session->config->addToHash( 'macros', FormField => 'FormField' ); + print "DONE!\n" unless $quiet; +} + finish($session); # this line required