Bug 34668: Add popup warn librarians of waiting holds when checking out
[koha.git] / installer / data / mysql / atomicupdate / bug_34668-add_WaitingNotifyAtCheckout_syspref.pl
1 use Modern::Perl;
2
3 return {
4     bug_number  => "34668",
5     description => "Add syspref WaitingNotifyAtCheckout",
6     up          => sub {
7         my ($args) = @_;
8         my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10         # Do you stuffs here
11         $dbh->do(q{INSERT IGNORE INTO `systempreferences` (variable,value,options,explanation,type) VALUES('WaitingNotifyAtCheckout','0',NULL,'If ON, notify librarians of waiting holds for the patron whose items they are checking out.','YesNo') });
12
13         say $out "Added new system preference 'WaitingNotifyAtCheckout'";
14
15     },
16 };