[Koha-patches] [PATCH] [SIGNED-OFF] Bug 6299 - Advertise this addition during upgrade

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Wed Aug 10 15:46:38 CEST 2011


From: Tomas Cohen Arazi <tomascohen at gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
August 10, 2011: Fixed some small typos.
---
 installer/data/mysql/updatedatabase.pl |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl
index 720bd8c..4b59d6c 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -4399,6 +4399,12 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     SetVersion($DBversion);
 }

+$DBversion = "3.05.00.XXX";
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+    print "RELTERMS category available for relator terms. They are not loaded during upgrade but can be easily inserted using the provided marc21_relatorterms.sql SQL script.\n";
+    SetVersion($DBversion);
+}
+
 =head1 FUNCTIONS

 =head2 DropAllForeignKeys($table)
--
1.6.0.6


More information about the Koha-patches mailing list