From 68184ade6f6b0c1ef00e5c26978eaefe0aa00e8b Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 16 Jul 2013 11:08:41 -0300 Subject: [PATCH] Bug 5858 - Advertise the updated framework to upgrading users MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Just that. Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/updatedatabase.pl | 6 ++++++ kohaversion.pl | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 2a3a8f591c..14de5582b2 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -6885,6 +6885,12 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = "3.12.01.003"; +if (C4::Context->preference("Version") < TransformToNum($DBversion)) { + print "The default MARC21 framework has been updated to April 2013 revision. Use installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql to update your (english) default MARC21 framework from the command line.\n"; + SetVersion($DBversion); +} + =head1 FUNCTIONS =head2 TableExists($table) diff --git a/kohaversion.pl b/kohaversion.pl index 83ecab8d28..29ca8a4106 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.12.01.002'; + our $VERSION = '3.12.01.003'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5