From fc54c71187dadb66b5d660b988cf4cdda6667a73 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 January 12, 2012: Noted that RELTERMs are currently available only for en. --- installer/data/mysql/updatedatabase.pl | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 0982282..ce608b3 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;"); @@ -4654,6 +4653,13 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { print "Upgrade done (Added support for local cover images)\n"; SetVersion($DBversion); } + +$DBversion = "3.07.00.XXX"; +if (C4::Context->preference("Version") < TransformToNum($DBversion)) { + print "RELTERMS category available for English-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 only).\n"; + SetVersion($DBversion); +} + =head1 FUNCTIONS =head2 DropAllForeignKeys($table) -- 1.7.2.5