Bug 20076: (QA follow-up) We need to default to 'Send' on update to keep existing...
[koha.git] / installer / data / mysql / atomicupdate / add-system-preference-EmailOverduesNoEmail.perl
1 use Modern::Perl;
2  
3 {
4     bug_number => "20076",
5     description => "Add system preference EmailOverduesNoEmail",
6     up => sub {
7         my ($args) = @_;
8         my ($dbh, $out) = @$args{qw(dbh out)};
9  
10         $dbh->do(q{
11             INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
12             VALUES ('EmailOverduesNoEmail','1','','Send send overdues of patrons without email address to staff', 'YesNo')
13             });
14     },
15 }