fix: Fixed a bug where www_selectPaymentGateway was not templated (#11161)
This commit is contained in:
parent
de46eb5986
commit
93b0e22680
5 changed files with 38 additions and 6 deletions
Binary file not shown.
|
|
@ -32,7 +32,7 @@ my $session = start(); # this line required
|
|||
|
||||
# upgrade functions go here
|
||||
reKeyTemplateAttachments($session);
|
||||
|
||||
addSelectPaymentGatewayTemplateToSettings($session);
|
||||
finish($session); # this line required
|
||||
|
||||
|
||||
|
|
@ -55,6 +55,15 @@ sub reKeyTemplateAttachments {
|
|||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# add default template for selectPaymentGateway
|
||||
sub addSelectPaymentGatewayTemplateToSettings {
|
||||
my $session = shift;
|
||||
print "\tAdding select payment gateway template to settings... " unless $quiet;
|
||||
$session->db->write("insert into settings values ('selectGatewayTemplateId', '2GxjjkRuRkdUg_PccRPjpA');");
|
||||
print "Done.\n" unless $quiet;
|
||||
}
|
||||
|
||||
#sub exampleFunction {
|
||||
# my $session = shift;
|
||||
# print "\tWe're doing some stuff here that you should know about... " unless $quiet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue