Add enableSurveyExpressionEngine to default WebGUI conf file.

Rerun the upgrade subroutine to handle newer surveys.
Handle the config option being off in Survey/Test.t
This commit is contained in:
Colin Kuskie 2009-05-28 23:28:52 +00:00
parent b74761619e
commit 67cce548ff
3 changed files with 16 additions and 0 deletions

View file

@ -88,6 +88,14 @@ sub addOgoneToConfig {
}
#----------------------------------------------------------------------------
sub addSurveyExpressionEngineConfigFlag{
my $session = shift;
print "\tAdding enableSurveyExpressionEngine config option... " unless $quiet;
$session->config->set('enableSurveyExpressionEngine', 0);
print "Done.\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
#----------------------------------------------------------------------------