From 2e4656931e4138611e763e669876b002c17005cd Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 20 Jul 2010 10:46:07 -0700 Subject: [PATCH] move upgrade sub to correct version. --- docs/upgrades/upgrade_7.9.8-7.9.9.pl | 11 ----------- docs/upgrades/upgrade_7.9.9-7.9.10.pl | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/upgrades/upgrade_7.9.8-7.9.9.pl b/docs/upgrades/upgrade_7.9.8-7.9.9.pl index 8ef11ccac..4a8d1e8b3 100644 --- a/docs/upgrades/upgrade_7.9.8-7.9.9.pl +++ b/docs/upgrades/upgrade_7.9.8-7.9.9.pl @@ -35,7 +35,6 @@ my $session = start(); # this line required addIndexToUserSessionLog($session); addHeightToCarousel($session); synchronizeUserProfileTables($session); -addSpamStopWordsToConfig($session); finish($session); # this line required @@ -49,16 +48,6 @@ finish($session); # this line required # print "DONE!\n" unless $quiet; #} -#---------------------------------------------------------------------------- -# Describe what our function does -sub addSpamStopWordsToConfig { - my $session = shift; - print "\tAdd SPAM controls to config file... " unless $quiet; - # and here's our code - $session->config->set('spamStopWords', []); - print "DONE!\n" unless $quiet; -} - #---------------------------------------------------------------------------- # Describe what our function does sub addIndexToUserSessionLog { diff --git a/docs/upgrades/upgrade_7.9.9-7.9.10.pl b/docs/upgrades/upgrade_7.9.9-7.9.10.pl index e21d15b1b..4271a02e9 100644 --- a/docs/upgrades/upgrade_7.9.9-7.9.10.pl +++ b/docs/upgrades/upgrade_7.9.9-7.9.10.pl @@ -31,6 +31,7 @@ my $quiet; # this line required my $session = start(); # this line required # upgrade functions go here +addSpamStopWordsToConfig($session); finish($session); # this line required @@ -45,6 +46,16 @@ finish($session); # this line required #} +#---------------------------------------------------------------------------- +# Describe what our function does +sub addSpamStopWordsToConfig { + my $session = shift; + print "\tAdd SPAM controls to config file... " unless $quiet; + # and here's our code + $session->config->set('spamStopWords', []); + print "DONE!\n" unless $quiet; +} + # -------------- DO NOT EDIT BELOW THIS LINE -------------------------------- #----------------------------------------------------------------------------