From 3a8e38b449ac228f435857bf1e2bf8391470a768 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 22 May 2024 13:58:35 +0000 Subject: [PATCH] Bug 36665: DBRev 23.12.00.060 Signed-off-by: Katrin Fischer --- Koha.pm | 2 +- .../mysql/{atomicupdate/bug_36665.pl => db_revs/231200060.pl} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename installer/data/mysql/{atomicupdate/bug_36665.pl => db_revs/231200060.pl} (81%) diff --git a/Koha.pm b/Koha.pm index ecd09716b6..bb6d4e1641 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 = "23.12.00.059"; +$VERSION = "23.12.00.060"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_36665.pl b/installer/data/mysql/db_revs/231200060.pl similarity index 81% rename from installer/data/mysql/atomicupdate/bug_36665.pl rename to installer/data/mysql/db_revs/231200060.pl index 951248b4d9..5747881702 100755 --- a/installer/data/mysql/atomicupdate/bug_36665.pl +++ b/installer/data/mysql/db_revs/231200060.pl @@ -3,7 +3,7 @@ use Koha::Installer::Output qw(say_warning say_failure say_success say_info); return { bug_number => "36665", - description => "Add StaffLoginBranchBasedOnIP", + description => "Add system preference StaffLoginBranchBasedOnIP", up => sub { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; @@ -12,7 +12,7 @@ return { $dbh->do( q{ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES - ('StaffLoginBranchBasedOnIP', '0','', 'Set the logged in branch for the user based on their current IP','YesNo') + ('StaffLoginBranchBasedOnIP', '0','', 'Set the logged in library for the user based on their current IP','YesNo') } ); -- 2.20.1