Add the Ogone plugin to any new configs created in 7.7.7, using
the default site config.
This commit is contained in:
parent
814a77b739
commit
f79e2031ec
1 changed files with 11 additions and 0 deletions
|
|
@ -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 --------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue