From 7d2562a70a528a84cf4dd97d46943548c8e736b3 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sun, 23 Aug 2009 13:23:21 -0400 Subject: [PATCH] bug 3485: fixed updatedatbase (also DBRev 043->044) * Fixed case of copy-and-pastitis in DBrev descrieption * Inserted description for new syspref NOTE: Please do not leave the system preference description blank in the updatedatabase entry - even for non-English users, an English description is more useful than a blank one. Signed-off-by: Galen Charlton --- installer/data/mysql/updatedatabase.pl | 4 ++-- kohaversion.pl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 9377592ae3..b70a141f46 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -2523,9 +2523,9 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $DBversion = '3.01.00.044'; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { - $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type)VALUES( 'DisplayClearScreenButton', '0', '', 'If set to yes, a clear screen button will appear on the circulation page.', 'YesNo')"); + $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type)VALUES( 'DisplayClearScreenButton', '0', 'If set to yes, a clear screen button will appear on the circulation page.', 'If set to yes, a clear screen button will appear on the circulation page.', 'YesNo')"); SetVersion ($DBversion); - print "Upgrade to $DBversion done (added FilterBeforeOverdueReport syspref and new index on authorised_values)\n"; + print "Upgrade to $DBversion done (added DisplayClearScreenButton system preference)\n"; } =item DropAllForeignKeys($table) diff --git a/kohaversion.pl b/kohaversion.pl index 9701165cce..f5151fed4a 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -10,7 +10,7 @@ use strict; sub kohaversion { - our $VERSION = '3.01.00.043'; + our $VERSION = '3.01.00.044'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5