Bug 39452: DBRev 24.12.00.042
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
b7227e8738
commit
4e94c231c3
2
Koha.pm
2
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;
|
||||
|
|
|
|||
|
|
@ -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'" );
|
||||
},
|
||||
};
|
||||
Loading…
Reference in New Issue