Bug 39452: DBRev 24.12.00.042

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2025-05-09 06:55:59 +00:00
parent b7227e8738
commit 4e94c231c3
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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'" );
},
};