Bug 11040: DBRev 3.15.00.001
authorGalen Charlton <gmc@esilibrary.com>
Sun, 24 Nov 2013 18:46:56 +0000 (18:46 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 24 Nov 2013 18:47:39 +0000 (18:47 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index a5a1e15..a9e08e3 100755 (executable)
@@ -7762,12 +7762,12 @@ if ( CheckVersion($DBversion) ) {
     SetVersion ($DBversion);
 }
 
-$DBversion = "XXX";
-if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
+$DBversion = "3.15.00.001";
+if ( CheckVersion($DBversion) ) {
     $dbh->do("UPDATE systempreferences SET value='clear' where variable = 'CircAutoPrintQuickSlip' and value = '0'");
     $dbh->do("UPDATE systempreferences SET value='qslip' where variable = 'CircAutoPrintQuickSlip' and value = '1'");
     $dbh->do("UPDATE systempreferences SET explanation = 'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window or Clear the screen.', type = 'Choice' where variable = 'CircAutoPrintQuickSlip'");
-    print "Upgrade to $DBversion done (Bug 11040: Add option to print full slip when checking out a null barcode)";
+    print "Upgrade to $DBversion done (Bug 11040: Add option to print full slip when checking out a null barcode)\n";
     SetVersion($DBversion);
 }
 
index 3579b97..469500e 100644 (file)
@@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.15.00.000';
+    our $VERSION = '3.15.00.001';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install