|
Line 0
Link Here
|
|
|
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 |
SELECT 'IndependentBranchesTransfers', value, NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo' |
| 6 |
FROM systempreferences WHERE variable = 'IndependentBranches' |
| 7 |
}); |
| 8 |
|
| 9 |
# Always end with this (adjust the bug info) |
| 10 |
SetVersion( $DBversion ); |
| 11 |
print "Upgrade to $DBversion done (Bug 10300 - Allow transferring of items to be have separate IndependentBranches syspref)\n"; |
| 12 |
} |