Bug 34075: (follow-up) Fixes for QA tool errors
[koha.git] / installer / data / mysql / atomicupdate / bug_34075.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "34075",
5     description => "Add DefaultAuthorityTab system preference",
6     up => sub {
7         my ($args) = @_;
8         my ($dbh, $out) = @$args{qw(dbh out)};
9         $dbh->do(q{
10             INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
11             ('DefaultAuthorityTab','0','0|1|2|3|4|5|6|7|8|9','Default tab to show when displaying authorities','Choice')
12         });
13         say $out "Added new system preference 'DefaultAuthorityTab'";
14     },
15 };