From a32f9b922d99694ffe92c45834f999b559b6968c Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 22 Oct 2015 11:05:45 -0300 Subject: [PATCH] Bug 10937: DBRev 3.21.00.040 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- .../atomicupdate/bz10937_group_item_types.pl | 18 ------------------ installer/data/mysql/updatedatabase.pl | 4 ++-- 3 files changed, 3 insertions(+), 21 deletions(-) delete mode 100755 installer/data/mysql/atomicupdate/bz10937_group_item_types.pl diff --git a/Koha.pm b/Koha.pm index 892d6c5fae..7e8fc3e4e7 100644 --- a/Koha.pm +++ b/Koha.pm @@ -29,7 +29,7 @@ use vars qw{ $VERSION }; # - #4 : the developer version. The 4th number is the database subversion. # used by developers when the database changes. updatedatabase take care of the changes itself # and is automatically called by Auth.pm when needed. -$VERSION = "3.21.00.039"; +$VERSION = "3.21.00.040"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bz10937_group_item_types.pl b/installer/data/mysql/atomicupdate/bz10937_group_item_types.pl deleted file mode 100755 index 649f43cd29..0000000000 --- a/installer/data/mysql/atomicupdate/bz10937_group_item_types.pl +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; -use C4::Context; - -my $dbh = C4::Context->dbh; - -my $DBversion = "3.21.00.XXX"; -#if ( CheckVersion($DBversion) ) { - $dbh->do(q{ - ALTER TABLE itemtypes - ADD hideinopac TINYINT(1) NOT NULL DEFAULT 0 AFTER sip_media_type, - ADD searchcategory VARCHAR(80) DEFAULT NULL AFTER hideinopac; - }); - print "Upgrade to $DBversion done (Bug 10937 - Option to hide and group itemtypes from advanced search)\n"; -# SetVersion($DBversion); -#} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index d0c4482083..39fc17ae30 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -11144,7 +11144,7 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } -$DBversion = "3.19.00.XXX"; +$DBversion = "3.21.00.040"; if ( CheckVersion($DBversion) ) { $dbh->do(q{ ALTER TABLE itemtypes @@ -11153,7 +11153,7 @@ if ( CheckVersion($DBversion) ) { ADD searchcategory VARCHAR(20) DEFAULT NULL AFTER hideinopac; }); - print "Upgrade to $DBversion done (Bug 10937 - Option to hide and group itemtypes from advanced search)\n"; + print "Upgrade to $DBversion done (Bug 10937: Option to hide and group itemtypes from advanced search)\n"; SetVersion($DBversion); } -- 2.39.5