From aef500f6a3168be665d2a38e9aa2c745c6e24c78 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 7 Nov 2014 11:37:27 -0300 Subject: [PATCH] Bug 12448: DBRev 3.17.00.048 Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/updatedatabase.pl | 6 ++---- kohaversion.pl | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 037c2e7f43..4c19eae87f 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -8953,7 +8953,7 @@ if ( CheckVersion($DBversion) ) { } $DBversion = "3.17.00.044"; -if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { +if ( CheckVersion($DBversion) ) { $dbh->do(q{ INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) @@ -9017,9 +9017,7 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } - - -$DBversion = "XXX"; +$DBversion = "3.17.00.048"; if ( CheckVersion($DBversion) ) { $dbh->do(q| INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('RentalFeesCheckoutConfirmation', '0', NULL , 'Allow user to confirm when checking out an item with rental fees.', 'YesNo') diff --git a/kohaversion.pl b/kohaversion.pl index a0cb93910a..6ce9d06da6 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.17.00.047'; + our $VERSION = '3.17.00.048'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5