bug 5503 follow-up DBrev number + added "upgrade to $DBversion" string
authorPaul Poulain <paul.poulain@biblibre.com>
Fri, 2 Mar 2012 17:37:41 +0000 (18:37 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 2 Mar 2012 17:37:41 +0000 (18:37 +0100)
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index 2552a7f..e540874 100755 (executable)
@@ -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);
 }
 
index 91ccd45..514f2c7 100644 (file)
@@ -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