From 94470aa7c3525e9d1019639f30ad7008890ecfdc Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 19 May 2020 08:17:17 +0100 Subject: [PATCH] Bug 13881: DBRev 19.12.00.091 Correction to preference terminology Signed-off-by: Martin Renvoize --- Koha.pm | 2 +- installer/data/mysql/updatedatabase.pl | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Koha.pm b/Koha.pm index 1462fc5838..c3e752754c 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 = "19.12.00.090"; +$VERSION = "19.12.00.091"; sub version { return $VERSION; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 6869273b22..1edf15fbfc 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -22155,6 +22155,16 @@ if ( CheckVersion($DBversion) ) { NewVersion( $DBversion, 13881, "Add issue desks system preference"); } +$DBversion = '19.12.00.091'; +if ( CheckVersion($DBversion) ) { + + $dbh->do(qq{ + UPDATE systempreferences SET variable = 'UseCirculationDesks' WHERE variable = 'UseIssueDesks' + }); + + NewVersion( $DBversion, 13881, "Correction to preference terminology"); +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/'; -- 2.20.1