Add the Ogone plugin to any new configs created in 7.7.7, using

the default site config.
This commit is contained in:
Colin Kuskie 2009-05-28 22:59:30 +00:00
parent 814a77b739
commit f79e2031ec

View file

@ -32,6 +32,7 @@ my $session = start(); # this line required
# upgrade functions go here
messageStateCleanup($session);
addOgoneToConfig( $session );
finish($session); # this line required
@ -76,6 +77,16 @@ sub messageStateCleanup {
$sth->finish;
} ## end sub messageStateCleanup
#----------------------------------------------------------------------------
sub addOgoneToConfig {
my $session = shift;
print "\tAdding Ogone payment plugin..." unless $quiet;
$session->config->addToArray('paymentDrivers', 'WebGUI::Shop::PayDriver::Ogone');
print "Done\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------