Add spamStopWords to default WebGUI config file, and add upgrade snippet. Fixes bug #11721.

This commit is contained in:
Colin Kuskie 2010-07-20 10:44:17 -07:00
parent 4f02168a44
commit 0cfa3f9edf
3 changed files with 18 additions and 1 deletions

View file

@ -15,6 +15,7 @@
- fixed #11455: Wrong use of Extras macro?
- fixed #11715: "Empty" user profile fields: not in userProfileData / cannot delete
- fixed #11718: Matrix does not URI encode search parameters
- fixed #11721: spamStopWords not in WebGUI.conf.original
7.9.8
- fixed #11651: First Day of Week is a string...

View file

@ -35,6 +35,7 @@ my $session = start(); # this line required
addIndexToUserSessionLog($session);
addHeightToCarousel($session);
synchronizeUserProfileTables($session);
addSpamStopWordsToConfig($session);
finish($session); # this line required
@ -48,6 +49,16 @@ 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 {