Koha/installer/data/mysql/db_revs/211200007.pl
Fridolin Somers 6c84f705d0 Bug 20076: DBRev 21.12.00.007
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-13 16:37:33 -10:00

15 lines
476 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "20076",
description => "Add system preference EmailOverduesNoEmail",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
VALUES ('EmailOverduesNoEmail','1',NULL,'Send send overdues of patrons without email address to staff', 'YesNo')
});
},
}