From 4e94c231c3b9a05ecf584e327ffe8d54bf6cbb8b Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 9 May 2025 06:55:59 +0000 Subject: [PATCH] Bug 39452: DBRev 24.12.00.042 Signed-off-by: Katrin Fischer --- Koha.pm | 2 +- .../bug_39452_add_cardnumberlog.pl => db_revs/241200041.pl} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename installer/data/mysql/{atomicupdate/bug_39452_add_cardnumberlog.pl => db_revs/241200041.pl} (69%) diff --git a/Koha.pm b/Koha.pm index 3f92805b3a..338cf844fb 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 = "24.12.00.040"; +$VERSION = "24.12.00.041"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_39452_add_cardnumberlog.pl b/installer/data/mysql/db_revs/241200041.pl similarity index 69% rename from installer/data/mysql/atomicupdate/bug_39452_add_cardnumberlog.pl rename to installer/data/mysql/db_revs/241200041.pl index 6f82ef4ce2..001b546e13 100755 --- a/installer/data/mysql/atomicupdate/bug_39452_add_cardnumberlog.pl +++ b/installer/data/mysql/db_revs/241200041.pl @@ -3,7 +3,7 @@ use Koha::Installer::Output qw(say_warning say_success say_info); return { bug_number => "39452", - description => "Add CardnumberLog Preference", + description => "Add CardnumberLog system preference", up => sub { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; @@ -12,10 +12,10 @@ return { $dbh->do( q{ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES - ('CardnumberLog','1',NULL,'If ON, log edit actions on patron cardnumbers','YesNo') + ('CardnumberLog','0',NULL,'If ON, log edit actions on patron cardnumbers','YesNo') } ); - say $out "Added new system preference 'CardnumberLog'"; + say_success( $out, "Added new system preference 'CardnumberLog'" ); }, };