From 2d7e475bbf7971fd38d427d388ed67178b9a0ab3 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 4 May 2015 14:22:31 -0300 Subject: [PATCH] Bug 13421: DBRev 3.19.00.038 Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/updatedatabase.pl | 18 ++---------------- kohaversion.pl | 2 +- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 2028c0de70..1161752f5e 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -10373,21 +10373,7 @@ if ( CheckVersion($DBversion) ) { SetVersion ($DBversion); } -$DBversion = "3.19.00.XXX"; -if ( CheckVersion($DBversion) ) { - $dbh->do(q| - INSERT INTO userflags (bit, flag, flagdesc, defaulton) VALUES - (20, 'shelves', 'Virtual shelves', 0) - |); - $dbh->do(q| - INSERT INTO permissions (module_bit, code, description) VALUES - (20, 'manage_shelves', 'Manage shelves') - |); - print "Upgrade to $DBversion done (Bug XXXXX: Add permission for shelves)\n"; - SetVersion ($DBversion); -} - -$DBversion = "3.19.00.XXX"; +$DBversion = "3.19.00.038"; if ( CheckVersion($DBversion) ) { $dbh->do(q| ALTER TABLE virtualshelves @@ -10400,7 +10386,7 @@ if ( CheckVersion($DBversion) ) { UPDATE virtualshelves SET created_on = lastmodified, lastmodified = lastmodified |); - print "Upgrade to $DBversion done (Bug XXXXX: Add DB field virtualshelves.created_on)\n"; + print "Upgrade to $DBversion done (Bug 13421: Add DB field virtualshelves.created_on)\n"; SetVersion ($DBversion); } diff --git a/kohaversion.pl b/kohaversion.pl index f1a3db1345..f4259dbf55 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.037'; + our $VERSION = '3.19.00.038'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5