From 53bbfa2aab5daf148113de1929193b64f3cf19ef Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 1 Feb 2016 17:55:15 +0100 Subject: [PATCH] Bug 11569: Update DB rev (3.22.02.002) Signed-off-by: Julian Maurice --- Koha.pm | 2 +- installer/data/mysql/updatedatabase.pl | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Koha.pm b/Koha.pm index 0fe4771c9e..7afb7374f3 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.22.02.001"; +$VERSION = "3.22.02.002"; sub version { return $VERSION; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 2224fac9cc..31d00e75ba 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -11426,6 +11426,18 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = "3.22.02.002"; +if ( CheckVersion($DBversion) ) { + $dbh->do(q{ + UPDATE permissions SET description = 'Manage circulation rules' WHERE description = 'manage circulation rules' + }); + $dbh->do(q{ + UPDATE permissions SET description = 'Manage staged MARC records, including completing and reversing imports' WHERE description = 'Managed staged MARC records, including completing and reversing imports' + }); + print "Upgrade to $DBversion done (Bug 11569 - Typo in userpermissions.sql)\n"; + 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. -- 2.39.5