Bug 13881: DBRev 19.12.00.091
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 May 2020 07:17:17 +0000 (08:17 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 May 2020 07:18:23 +0000 (08:18 +0100)
Correction to preference terminology

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha.pm
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 1462fc5..c3e7527 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 = "19.12.00.090";
+$VERSION = "19.12.00.091";
 
 sub version {
     return $VERSION;
index 6869273..1edf15f 100755 (executable)
@@ -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/';