From e3450b2de775033236d5277a2796778841999458 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 28 Apr 2015 16:33:27 -0300 Subject: [PATCH] Bug 8992: DBRev 3.19.00.031 Some fixes too. Signed-off-by: Tomas Cohen Arazi --- 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 556f0d0910..5d1b7780e8 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -10257,10 +10257,10 @@ DELETE FROM language_descriptions SetVersion($DBversion); } -$DBversion = "3.19.00.XXX"; -if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { +$DBversion = "3.19.00.031"; +if ( CheckVersion($DBversion) ) { $dbh->do(q{ - INSERT INTO systempreferences (variable,value,explanation,options,type) + INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('IdRef','0','Disable/enable the IdRef webservice from the OPAC detail page.',NULL,'YesNo') }); print "Upgrade to $DBversion done (Bug 8992: Add system preference IdRef))\n"; diff --git a/kohaversion.pl b/kohaversion.pl index 0828f0823a..2f845e88b6 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -17,7 +17,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.19.00.030'; + our $VERSION = '3.19.00.031'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5