From 0f5cba428dd50144b61f1524dc67a0c6e8fd4321 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 8 Feb 2010 21:14:12 -0500 Subject: [PATCH] DB rev 116 - finish fixing default value of OrderPdfFormat 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 a63a162388..08169ab755 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -3429,12 +3429,12 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion ($DBversion); } -$DBversion = 'XXX'; +$DBversion = '3.01.00.116'; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { if (C4::Context->preference('OrderPdfFormat') eq 'pdfformat::example'){ $dbh->do("UPDATE `systempreferences` set value='pdfformat::layout2pages' WHERE variable='OrderPdfFormat'"); } - print "Upgrade done ( corrected default OrderPdfFormat value is still set wrong )\n"; + print "Upgrade done ( corrected default OrderPdfFormat value if still set wrong )\n"; SetVersion ($DBversion); } diff --git a/kohaversion.pl b/kohaversion.pl index 3c5dda577e..910f2a61c8 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -10,7 +10,7 @@ use strict; sub kohaversion { - our $VERSION = '3.01.00.115'; + our $VERSION = '3.01.00.116'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5