From a9d260ee1fd20934e60259a5a09bb703bb41cad7 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 4 Aug 2011 17:47:42 -0300 Subject: [PATCH] Bug 6299 - Advertise this addition during upgrade Signed-off-by: Marcel de Rooy August 10, 2011: Fixed some small typos. Signed-off-by: Paul Poulain Oct 7th, 2011: rebased for master Signed-off-by: Jared Camins-Esakov --- installer/data/mysql/updatedatabase.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 29987513f5..d0b2af1276 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -4598,7 +4598,6 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion($DBversion); } - $DBversion = "3.07.00.007"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("ALTER TABLE items MODIFY materials text;"); @@ -4679,6 +4678,12 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { } +$DBversion = "3.07.00.XXX"; +if (C4::Context->preference("Version") < TransformToNum($DBversion)) { + print "RELTERMS category available for English-, French-, and Spanish-language relator terms. They are not loaded during upgrade but can be easily inserted using the provided marc21_relatorterms.sql SQL script (currently available for en, es, and fr only).\n"; + SetVersion($DBversion); +} + =head1 FUNCTIONS =head2 DropAllForeignKeys($table) -- 2.39.2