|
Link Here
|
| 1 |
$DBversion = 'XXX'; # will be replaced by the RM |
1 |
$DBversion = 'XXX'; # will be replaced by the RM |
| 2 |
if( CheckVersion( $DBversion ) ) { |
2 |
if ( CheckVersion($DBversion) ) { |
| 3 |
$dbh->do({ |
3 |
$dbh->do(q{ |
| 4 |
INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES |
4 |
INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) |
| 5 |
('FinePaymentAutoPopup','0',NULL,'If enabled, automatically display a print dialog for a payment receipt when making a payment.','YesNo') |
5 |
VALUES |
|
|
6 |
( |
| 7 |
'FinePaymentAutoPopup', |
| 8 |
'0', |
| 9 |
NULL, |
| 10 |
'If enabled, automatically display a print dialog for a payment receipt when making a payment.', |
| 11 |
'YesNo' |
| 12 |
) |
| 6 |
}); |
13 |
}); |
| 7 |
|
14 |
|
| 8 |
SetVersion( $DBversion ); |
15 |
SetVersion($DBversion); |
| 9 |
print "Upgrade to $DBversion done (Bug 23228 - Add option to automatically display payment receipt for printing after making a payment)\n"; |
16 |
print |
|
|
17 |
"Upgrade to $DBversion done (Bug 23228 - Add option to automatically display payment receipt for printing after making a payment)\n"; |
| 10 |
} |
18 |
} |
| 11 |
- |
|
|