Lines 1-18
Link Here
|
1 |
use Modern::Perl; |
1 |
use Modern::Perl; |
2 |
|
2 |
|
3 |
return { |
3 |
return { |
4 |
bug_number => "30200", |
4 |
bug_number => "30200", |
5 |
description => "Add customizable tabs to interlibrary loan requests list", |
5 |
description => "Add ILLRequestsTabs system preference", |
6 |
up => sub { |
6 |
up => sub { |
7 |
my ($args) = @_; |
7 |
my ($args) = @_; |
8 |
my ($dbh, $out) = @$args{qw(dbh out)}; |
8 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
|
|
9 |
|
9 |
# Do you stuffs here |
10 |
# Do you stuffs here |
10 |
$dbh->do(q{ |
11 |
$dbh->do( |
11 |
INSERT INTO `systempreferences` |
12 |
q{ |
|
|
13 |
INSERT IGNORE INTO `systempreferences` |
12 |
(variable,value,options,explanation,type) |
14 |
(variable,value,options,explanation,type) |
13 |
VALUES |
15 |
VALUES |
14 |
('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'); |
16 |
('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'); |
15 |
}); |
17 |
} |
|
|
18 |
); |
16 |
|
19 |
|
17 |
}, |
20 |
}, |
18 |
}; |
21 |
}; |
19 |
- |
|
|