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";
if ( CheckVersion($DBversion) ) {
$dbh->do(
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