From b28d306a940b5b8d1c262590451a47526b72900c Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Wed, 19 Mar 2008 07:10:01 -0400 Subject: [PATCH] Updating patronimages syspref to reflect current sysprefs.sql Signed-off-by: Joshua Ferraro --- installer/data/mysql/updatedatabase.pl | 7 +++++++ kohaversion.pl | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 6ab5eb96e1..b82d9f1a0e 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -1223,6 +1223,13 @@ DEFAULT CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP; SetVersion ($DBversion); } +$DBversion = "3.00.00.067"; +if (C4::Context->preference("Version") < TransformToNum($DBversion)) { + $dbh->do("UPDATE systempreferences SET explanation = 'Enable patron images for the Staff Client', type = 'YesNo' WHERE variable = 'patronimages'"); + print "Upgrade to $DBversion done (Updating patronimages syspref to reflect current kohastructure.sql. ) "; + SetVersion ($DBversion); +} + =item DropAllForeignKeys($table) Drop all foreign keys of the table $table diff --git a/kohaversion.pl b/kohaversion.pl index 749cdfe7c4..b41e3adf01 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -10,7 +10,7 @@ use strict; sub kohaversion { - our $VERSION = "3.00.00.066"; + our $VERSION = "3.00.00.067"; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5