From 17b78abc7fe6a66ab48a01ac4a7be8e88ad165fc Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sun, 24 Nov 2013 18:46:56 +0000 Subject: [PATCH] Bug 11040: DBRev 3.15.00.001 Signed-off-by: Galen Charlton --- installer/data/mysql/updatedatabase.pl | 6 +++--- kohaversion.pl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index a5a1e15255..a9e08e3f38 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -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); } diff --git a/kohaversion.pl b/kohaversion.pl index 3579b972c0..469500e03d 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -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 -- 2.39.5