View | Details | Raw Unified | Return to bug 9767
Collapse All | Expand All

(-)a/installer/data/mysql/updatedatabase.pl (-7 / +7 lines)
Lines 6444-6449 if ( CheckVersion($DBversion) ) { Link Here
6444
    SetVersion($DBversion);
6444
    SetVersion($DBversion);
6445
}
6445
}
6446
6446
6447
$DBversion = "3.11.00.024";
6448
if ( CheckVersion($DBversion) ) {
6449
    $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacItemLocation','callnum','Show the shelving location of items in the opac','callnum|ccode|location','Choice');");
6450
    print "Upgrade to $DBversion done (Bug 5079: Add OpacItemLocation syspref)\n";
6451
    SetVersion ($DBversion);
6452
}
6453
6447
$DBversion = "3.11.00.025";
6454
$DBversion = "3.11.00.025";
6448
if ( CheckVersion($DBversion) ) {
6455
if ( CheckVersion($DBversion) ) {
6449
    $dbh->do(
6456
    $dbh->do(
Lines 6469-6480 if ( CheckVersion($DBversion) ) { Link Here
6469
    SetVersion($DBversion);
6476
    SetVersion($DBversion);
6470
}
6477
}
6471
6478
6472
$DBversion = "3.11.00.024";
6473
if ( CheckVersion($DBversion) ) {
6474
    $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacItemLocation','callnum','Show the shelving location of items in the opac','callnum|ccode|location','Choice');");
6475
    print "Upgrade to $DBversion done (Bug 5079: Add OpacItemLocation syspref)\n";
6476
    SetVersion ($DBversion);
6477
}
6478
6479
6479
=head1 FUNCTIONS
6480
=head1 FUNCTIONS
6480
6481
6481
- 

Return to bug 9767