Bug 11040: DBRev 3.15.00.001

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Galen Charlton 2013-11-24 18:46:56 +00:00
parent 2131c78618
commit 17b78abc7f
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View 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