Merge branch 'bug_9767' into 3.12-master

This commit is contained in:
Jared Camins-Esakov 2013-03-08 07:00:37 -05:00
commit 0ffaa644b9

View file

@ -6444,6 +6444,13 @@ if ( CheckVersion($DBversion) ) {
SetVersion($DBversion); SetVersion($DBversion);
} }
$DBversion = "3.11.00.024";
if ( CheckVersion($DBversion) ) {
$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');");
print "Upgrade to $DBversion done (Bug 5079: Add OpacItemLocation syspref)\n";
SetVersion ($DBversion);
}
$DBversion = "3.11.00.025"; $DBversion = "3.11.00.025";
if ( CheckVersion($DBversion) ) { if ( CheckVersion($DBversion) ) {
$dbh->do( $dbh->do(
@ -6469,12 +6476,6 @@ if ( CheckVersion($DBversion) ) {
SetVersion($DBversion); SetVersion($DBversion);
} }
$DBversion = "3.11.00.024";
if ( CheckVersion($DBversion) ) {
$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');");
print "Upgrade to $DBversion done (Bug 5079: Add OpacItemLocation syspref)\n";
SetVersion ($DBversion);
}
=head1 FUNCTIONS =head1 FUNCTIONS