Lines 5927-5933
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
Link Here
|
5927 |
SetVersion ($DBversion); |
5927 |
SetVersion ($DBversion); |
5928 |
} |
5928 |
} |
5929 |
|
5929 |
|
5930 |
|
|
|
5931 |
$DBversion = "3.09.00.053"; |
5930 |
$DBversion = "3.09.00.053"; |
5932 |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
5931 |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
5933 |
$dbh->do( |
5932 |
$dbh->do( |
Lines 6112-6125
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
Link Here
|
6112 |
print "Upgrade to $DBversion done (Bug 8782: Add field subscription.closed)\n"; |
6111 |
print "Upgrade to $DBversion done (Bug 8782: Add field subscription.closed)\n"; |
6113 |
SetVersion($DBversion); |
6112 |
SetVersion($DBversion); |
6114 |
} |
6113 |
} |
6115 |
$DBversion = "XXX"; |
|
|
6116 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
6117 |
$dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowHoldsOnPatronsPossessions', '1', 'Allow holds on records that patron have items of it',NULL,'YesNo')" |
6118 |
print "Upgrade to $DBversion done (Bug 9206: Only allow place holds in records that the patron don't have in his possession)\n"; |
6119 |
SetVersion($DBversion); |
6120 |
} |
6121 |
|
6122 |
|
6123 |
|
6114 |
|
6124 |
$DBversion = "3.11.00.005"; |
6115 |
$DBversion = "3.11.00.005"; |
6125 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
6116 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
Lines 6293-6298
if (CheckVersion($DBversion)) {
Link Here
|
6293 |
SetVersion ($DBversion); |
6284 |
SetVersion ($DBversion); |
6294 |
} |
6285 |
} |
6295 |
|
6286 |
|
|
|
6287 |
$DBversion = "XXX"; |
6288 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
6289 |
$dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowHoldsOnPatronsPossessions', '1', 'Allow holds on records that patron have items of it',NULL,'YesNo')"); |
6290 |
print "Upgrade to $DBversion done (Bug 9206: Only allow place holds in records that the patron don't have in his possession)\n"; |
6291 |
SetVersion($DBversion); |
6292 |
} |
6293 |
|
6296 |
=head1 FUNCTIONS |
6294 |
=head1 FUNCTIONS |
6297 |
|
6295 |
|
6298 |
=head2 TableExists($table) |
6296 |
=head2 TableExists($table) |