From 54dc51fc663e1f06ae4fe85e227e25065bdfbbcc 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 Content-Type: text/plain; charset="UTF-8" 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 files changed, 6 insertions(+), 1 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 2998751..d0b2af1 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) -- 1.7.2.5