From f90dfe69eb0df35bdca529bdbd47ada94774d9e8 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 4 Aug 2011 17:47:42 -0300 Subject: [PATCH 2/2] Bug 6299 - Advertise this addition during upgrade Content-Type: text/plain; charset="utf-8" --- installer/data/mysql/updatedatabase.pl | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 720bd8c..fa49661 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -4399,6 +4399,14 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion($DBversion); } +$DBversion = "XXX"; +if (C4::Context->preference("Version") < TransformToNum($DBversion)) { + print "This upgrade provides a list of authorised values for relator terms under the\n"; + print "RELTERMS category. They are not loaded during upgrade but can be easily inserted\n"; + print "using the provided marc21_relatorterms.sql SQL script" + SetVersion($DBversion); +} + =head1 FUNCTIONS =head2 DropAllForeignKeys($table) -- 1.7.4.1