From f50daa1cc7092b4b5b0e4bd0f0a1a75582a5f2a6 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 23 Apr 2015 13:01:40 -0300 Subject: [PATCH] Bug 13790: DBRev 3.19.00.028 Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/updatedatabase.pl | 10 ++++------ kohaversion.pl | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index ec7005ec54..0aaf114467 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -9919,9 +9919,8 @@ if(CheckVersion($DBversion)) { SetVersion($DBversion); } - $DBversion = '3.19.00.017'; -if (C4::Context->preference("Version") < TransformToNum($DBversion)) { +if ( CheckVersion($DBversion) ) { # First create the column $dbh->do("ALTER TABLE issuingrules ADD onshelfholds tinyint(1) default 0 NOT NULL"); # Now update the column @@ -10040,7 +10039,7 @@ if ( CheckVersion($DBversion) ) { } $DBversion = "3.19.00.026"; -if(CheckVersion($DBversion)) { +if( CheckVersion($DBversion) ) { if ( C4::Context->preference('marcflavour') eq 'MARC21' ) { $dbh->do(q{ INSERT IGNORE INTO auth_tag_structure (authtypecode, tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value) VALUES @@ -10154,8 +10153,8 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } -$DBversion = "3.19.00.XXX"; -if(CheckVersion($DBversion)) { +$DBversion = "3.19.00.028"; +if( CheckVersion($DBversion) ) { $dbh->do(q{ ALTER TABLE old_issues ADD issue_id INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST }); @@ -10184,7 +10183,6 @@ if(CheckVersion($DBversion)) { SetVersion($DBversion); } - # DEVELOPER PROCESS, search for anything to execute in the db_update directory # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. diff --git a/kohaversion.pl b/kohaversion.pl index 0bfccb73b9..7d6b7fc182 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -17,7 +17,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.19.00.027'; + our $VERSION = '3.19.00.028'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5