Bug 7825: DBrev 3.17.00.003
authorGalen Charlton <gmc@esilibrary.com>
Mon, 26 May 2014 01:02:45 +0000 (01:02 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 26 May 2014 01:02:45 +0000 (01:02 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

installer/data/mysql/updatedatabase.pl
kohaversion.pl

index b8fad87..1f1c672 100755 (executable)
@@ -8512,14 +8512,13 @@ CREATE TABLE IF NOT EXISTS `misc_files` (
     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)
index d06377c..08d169b 100644 (file)
@@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
 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