Bug 10937: DBRev 3.21.00.040
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 22 Oct 2015 14:05:45 +0000 (11:05 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 22 Oct 2015 14:06:48 +0000 (11:06 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha.pm
installer/data/mysql/atomicupdate/bz10937_group_item_types.pl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 892d6c5..7e8fc3e 100644 (file)
--- 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 (executable)
index 649f43c..0000000
+++ /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);
-#}
index d0c4482..39fc17a 100755 (executable)
@@ -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);
 }