Bug 28575: DBRev 24.06.00.039
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
75bca45733
commit
3c286b5894
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.06.00.038";
|
||||
$VERSION = "24.06.00.039";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -4,17 +4,16 @@ use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
|
|||
return {
|
||||
bug_number => "28575",
|
||||
description =>
|
||||
"Add a syspref to prevent refunds on lost items if the fee was paid more than a set number of days ago",
|
||||
"Add a system preference to prevent refunds on lost items if the fee was paid more than a set number of days ago",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
# Do you stuffs here
|
||||
$dbh->do(
|
||||
q{
|
||||
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('NoRefundOnLostFinesPaidAge','','','Do not refund lost item fees if the fee was paid off more than this number of days ago','Integer')
|
||||
}
|
||||
);
|
||||
say_success( $out, "Successfully added new system preference: NoRefundOnLostFinesPaidAge" );
|
||||
say_success( $out, "Added new system preference 'NoRefundOnLostFinesPaidAge'" );
|
||||
},
|
||||
};
|
||||
Loading…
Reference in New Issue