From 5480a3ca2b7f188c913a0289fc93adefcb2736dd Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sun, 8 Sep 2013 22:46:33 +0000 Subject: [PATCH] Bug 5349: DBrev 3.13.00.018 Signed-off-by: Galen Charlton --- installer/data/mysql/updatedatabase.pl | 6 +++--- kohaversion.pl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 9aa8998447..d8b5818f0e 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -7104,8 +7104,8 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } -$DBversion = "XXX"; -if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { +$DBversion = "3.13.00.018"; +if ( CheckVersion($DBversion) ) { $dbh->do(qq{DROP TABLE IF EXISTS aqorders_transfers;}); $dbh->do(qq{ CREATE TABLE aqorders_transfers ( @@ -7118,7 +7118,7 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { CONSTRAINT aqorders_transfers_ordernumber_to FOREIGN KEY (ordernumber_to) REFERENCES aqorders (ordernumber) ON DELETE SET NULL ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; }); - print "Upgrade to $DBversion done (Add aqorders_transfers table)\n"; + print "Upgrade to $DBversion done (Bug 5349: Add aqorders_transfers table)\n"; SetVersion($DBversion); } diff --git a/kohaversion.pl b/kohaversion.pl index 3dac341972..ec1c56ade1 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.13.00.017'; + our $VERSION = '3.13.00.018'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5