From 36e3c126785c9ab96abc9a292076d59fcee52bb1 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Fri, 2 Mar 2012 18:37:41 +0100 Subject: [PATCH] bug 5503 follow-up DBrev number + added "upgrade to $DBversion" string http://bugs.koha-community.org/show_bug.cgi?id=6473 --- installer/data/mysql/updatedatabase.pl | 2 +- kohaversion.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 2552a7f..e540874 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -4730,7 +4730,7 @@ $DBversion = "3.07.00.019"; if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { $dbh->do(" UPDATE `systempreferences` SET `value` = 'none', `options` = 'none|full|first|surname|firstandinitial|username', `explanation` = 'Choose how a commenter''s identity is presented alongside comments in the OPAC', `type` = 'Choice' WHERE `systempreferences`.`variable` = 'ShowReviewer' AND `systempreferences`.`variable` = 0"); $dbh->do(" UPDATE `systempreferences` SET `value` = 'full', `options` = 'none|full|first|surname|firstandinitial|username', `explanation` = 'Choose how a commenter''s identity is presented alongside comments in the OPAC', `type` = 'Choice' WHERE `systempreferences`.`variable` = 'ShowReviewer' AND `systempreferences`.`variable` = 1"); - print "Adding additional options for the display of commenter's identity in the OPAC: Full name, first name, last name, first name and last name first initial, username, or no information\n"; + print "Upgrade to $DBversion done ( Adding additional options for the display of commenter's identity in the OPAC: Full name, first name, last name, first name and last name first initial, username, or no information)\n"; SetVersion($DBversion); } diff --git a/kohaversion.pl b/kohaversion.pl index 91ccd45..514f2c7 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.07.00.018'; + our $VERSION = '3.07.00.019'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 1.7.5.4