From 57dda254d75f3f81a815f5fed497ae6a4c3377ad Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Tue, 22 Apr 2008 17:55:31 -0500 Subject: [PATCH] fixing version numbering from 71 to 72 --- installer/data/mysql/updatedatabase.pl | 15 +-------------- kohaversion.pl | 2 +- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 9f9cad9e77..a8a6623f44 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -1305,20 +1305,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion ($DBversion); } -$DBversion = "3.00.00.070"; -if (C4::Context->preference("Version") < TransformToNum($DBversion)) { - $dbh->do(" ALTER TABLE `subscription` ADD `serialsadditems` TINYINT( 1 ) NOT NULL DEFAULT '0';"); - # fill the new field with the previous systempreference value, then drop the syspref - my $sth = $dbh->prepare("SELECT value FROM systempreferences WHERE variable='serialsadditems'"); - $sth->execute; - my ($serialsadditems) = $sth->fetchrow(); - $dbh->do("UPDATE subscription SET serialsadditems=$serialsadditems"); - $dbh->do("DELETE FROM systempreferences WHERE variable='serialsadditems'"); - print "Upgrade to $DBversion done ( moving serialsadditems from syspref to subscription )\n"; - SetVersion ($DBversion); -} - -$DBversion = "3.00.00.071"; +$DBversion = "3.00.00.072"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("ALTER TABLE labels_conf ADD COLUMN formatstring VARCHAR(64) DEFAULT NULL;"); print "Upgrade to $DBversion done ( Adding format string to labels generator. )\n"; diff --git a/kohaversion.pl b/kohaversion.pl index c92a670549..5d949cf9eb 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -10,7 +10,7 @@ use strict; sub kohaversion { - our $VERSION = "3.00.00.071"; + our $VERSION = "3.00.00.072"; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5