From 710bd67ae63062b49ea26b05b569aea42ebd91b0 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.11.05.008 Signed-off-by: Katrin Fischer (cherry picked from commit 3a8e38b449ac228f435857bf1e2bf8391470a768) Signed-off-by: Fridolin Somers --- Koha.pm | 2 +- .../{atomicupdate/bug_36665.pl => db_revs/231105008.pl} | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) rename installer/data/mysql/{atomicupdate/bug_36665.pl => db_revs/231105008.pl} (72%) diff --git a/Koha.pm b/Koha.pm index e2426f0380..9fccce4be9 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.11.05.007"; +$VERSION = "23.11.05.008"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_36665.pl b/installer/data/mysql/db_revs/231105008.pl similarity index 72% rename from installer/data/mysql/atomicupdate/bug_36665.pl rename to installer/data/mysql/db_revs/231105008.pl index 951248b4d9..550b49f633 100755 --- a/installer/data/mysql/atomicupdate/bug_36665.pl +++ b/installer/data/mysql/db_revs/231105008.pl @@ -1,9 +1,8 @@ use Modern::Perl; -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 +11,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.39.5