]> git.koha-community.org Git - koha.git/blob - installer/data/mysql/db_revs/220600021.pl
Bug 30250: Add ApplyFrameworkDefaults system preference
[koha.git] / installer / data / mysql / db_revs / 220600021.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "31157",
5     description => "Add OverdueNoticeFrom preference",
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` ) VALUES
12                 ('OverdueNoticeFrom', 'cron', 'cron|item-issuebranch|item-homebranch', 'Organize and send overdue notices by item home library or checkout library', 'Choice')
13         });
14     },
15 };