Bug 21701: Fix up db update
[koha.git] / installer / data / mysql / atomicupdate / bug_21701_PayPalReturnURL.perl
1 $DBversion = 'XXX';  # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3     $dbh->do(q{
4         INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
5         VALUES ('PayPalReturnURL','BaseURL','BaseURL|OPACAlias','Specify whether PayPal will return to the url specified in the OPACBaseURL option or to the OPAC\'s alias url.','Choice')
6     });
7
8     SetVersion( $DBversion );
9     print "Upgrade to $DBversion done (Bug 21701 - PayPal return URL option)\n";
10 }