From 4d417b9a2ea278ad203beb6e90f7da4d79f487df Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 11 Jun 2015 10:29:06 -0300 Subject: [PATCH] Bug 7981: DBRev 3.21.00.008 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- installer/data/mysql/updatedatabase.pl | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Koha.pm b/Koha.pm index 695e28eb4d..96c15904fe 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.007"; +$VERSION = "3.21.00.008"; sub version { return $VERSION; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 29187b2535..ee76d7d047 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -10585,12 +10585,13 @@ if ( CheckVersion($DBversion) ) { SetVersion ($DBversion); } -$DBversion = "3.21.00.XXX"; +$DBversion = "3.21.00.008"; if ( CheckVersion($DBversion) ) { $dbh->do(q{ - DELETE FROM systempreferences WHERE variable = 'HomeOrHoldingBranchReturn'; + DELETE IGNORE FROM systempreferences + WHERE variable = 'HomeOrHoldingBranchReturn'; }); - print "Upgrade to $DBversion done (Bug 7981 - Transfer message on return. HomeOrHoldingBranchReturn syspref removed in favour of circulation rules.)\n"; + print "Upgrade to $DBversion done (Bug 7981: Transfer message on return. HomeOrHoldingBranchReturn syspref removed in favour of circulation rules.)\n"; SetVersion($DBversion); } -- 2.39.5