Signed-off-by: Galen Charlton <gmc@esilibrary.com>
SetVersion($DBversion);
}
-$DBversion = "3.15.00.XXX";
-if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
+$DBversion = "3.17.00.003";
+if (CheckVersion($DBversion)) {
$dbh->do("UPDATE systempreferences SET type = 'Choice', options = '0|1|force' WHERE variable = 'OPACItemHolds'");
print "Upgrade to $DBversion done (Bug 7825 - Changed OPACItemHolds syspref to Choice)\n";
SetVersion($DBversion);
}
-
=head1 FUNCTIONS
=head2 TableExists($table)
use strict;
sub kohaversion {
- our $VERSION = '3.17.00.002';
+ our $VERSION = '3.17.00.003';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install