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 <jmf@liblime.com>
This commit is contained in:
Galen Charlton 2008-07-28 16:05:42 -05:00 committed by Joshua Ferraro
parent 1baf6348cc
commit 9adfdcbb77
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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