Lines 6111-6124
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
Link Here
|
6111 |
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"; |
6112 |
SetVersion($DBversion); |
6112 |
SetVersion($DBversion); |
6113 |
} |
6113 |
} |
6114 |
$DBversion = "XXX"; |
|
|
6115 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
6116 |
$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')" |
6117 |
print "Upgrade to $DBversion done (Bug 9206: Only allow place holds in records that the patron don't have in his possession)\n"; |
6118 |
SetVersion($DBversion); |
6119 |
} |
6120 |
|
6121 |
|
6122 |
|
6114 |
|
6123 |
$DBversion = "3.11.00.005"; |
6115 |
$DBversion = "3.11.00.005"; |
6124 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
6116 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
Lines 6317-6322
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
Link Here
|
6317 |
SetVersion($DBversion); |
6309 |
SetVersion($DBversion); |
6318 |
} |
6310 |
} |
6319 |
|
6311 |
|
|
|
6312 |
$DBversion = "3.11.00.XXX"; |
6313 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
6314 |
$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')"); |
6315 |
print "Upgrade to $DBversion done (Bug 9206: Only allow place holds in records that the patron don't have in his possession)\n"; |
6316 |
SetVersion($DBversion); |
6317 |
} |
6318 |
|
6320 |
=head1 FUNCTIONS |
6319 |
=head1 FUNCTIONS |
6321 |
|
6320 |
|
6322 |
=head2 TableExists($table) |
6321 |
=head2 TableExists($table) |