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 -------------------------------- #----------------------------------------------------------------------------