commerce fix
This commit is contained in:
parent
8ae9dd6610
commit
bce8bed3fc
1 changed files with 7 additions and 0 deletions
|
|
@ -21,9 +21,16 @@ my $quiet; # this line required
|
|||
my $session = start(); # this line required
|
||||
|
||||
# upgrade functions go here
|
||||
fixCommerceSettings();
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
#--------------------------------------------------
|
||||
sub fixCommerceSettings {
|
||||
print "\tFixing Commerce Settings.\n" unless ($quiet);
|
||||
$session->db->write("insert into settings (name,value) values ('commercePurchaseHistoryTemplateId','PBtmpl0000000000000019');
|
||||
}
|
||||
|
||||
|
||||
##-------------------------------------------------
|
||||
#sub exampleFunction {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue