SetVersion($DBversion);
}
-$DBversion = "3.11.00.XXX";
-if(CheckVersion($DBversion)) {
- $dbh->do(
-"INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacShowHoldNotes',0,'Show hold notes on OPAC','','YesNo')"
- );
- print "Upgrade to $DBversion done (Bug 9722: Allow users to add notes when placing a hold in OPAC)\n";
- 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');");
SetVersion($DBversion);
}
+$DBversion = "3.13.00.004";
+if(CheckVersion($DBversion)) {
+ $dbh->do(
+"INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacShowHoldNotes',0,'Show hold notes on OPAC','','YesNo')"
+ );
+ print "Upgrade to $DBversion done (Bug 9722: Allow users to add notes when placing a hold in OPAC)\n";
+ SetVersion($DBversion);
+}
+
=head1 FUNCTIONS
=head2 TableExists($table)
use strict;
sub kohaversion {
- our $VERSION = '3.13.00.003';
+ our $VERSION = '3.13.00.004';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install