From a61396b8572b2d1c490b77042250cbe8e24ae565 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 22 Jul 2013 11:59:31 -0300 Subject: [PATCH] Bug 8911: DBRev 3.12.01.005 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Advertise the users how to fix About Koha > Timeline for old instances. 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 40c513adbe..f9ceb603af 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -6899,6 +6899,12 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = "3.12.01.005"; +if (C4::Context->preference("Version") < TransformToNum($DBversion)) { + print "About Koha > Timeline was fixed for new instances. If you want it fixed on previously created instances you need to add /usr/share/doc/koha-common to the instance's koha-conf.xml file, on the section.\n"; + SetVersion($DBversion); +} + =head1 FUNCTIONS =head2 TableExists($table) diff --git a/kohaversion.pl b/kohaversion.pl index 1448901d28..f79a731040 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.004'; + our $VERSION = '3.12.01.005'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5