From 9adfdcbb77063cda1c786c4272d162bb91893b23 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 28 Jul 2008 16:05:42 -0500 Subject: [PATCH] bug 2413: remove noOPACHolds syspref (DB rev 104) Preference was removed in patch for bug 2234; completing removal in existing 3.0 installations via DB rev 104. No documentation changes (deprecation of noOPACHolds done in an earlier patch) 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 3839a44a7b..07685ce8d3 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -1896,6 +1896,13 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion ($DBversion); } +$DBversion = "3.00.00.104"; +if (C4::Context->preference("Version") < TransformToNum($DBversion)) { + $dbh->do("DELETE FROM systempreferences WHERE variable='noOPACHolds'"); + print "Upgrade to $DBversion done (remove superseded 'noOPACHolds' system preference per bug 2413)\n"; + SetVersion ($DBversion); +} + =item DropAllForeignKeys($table) Drop all foreign keys of the table $table diff --git a/kohaversion.pl b/kohaversion.pl index 0bacb7b096..c73df3aaee 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -10,7 +10,7 @@ use strict; sub kohaversion { - our $VERSION = '3.00.00.103'; + our $VERSION = '3.00.00.104'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5