Bug 30200: (follow-up) Update database update and pref description
* Rephrases the system preference description a bit * Adds IGNORE to the database statement * Update output message of database statement to include pref name Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Magnus Enger <magnus@libriotech.no> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
543c5fab0a
commit
f1ad32ebe2
|
|
@ -1,18 +1,21 @@
|
|||
use Modern::Perl;
|
||||
|
||||
return {
|
||||
bug_number => "30200",
|
||||
description => "Add customizable tabs to interlibrary loan requests list",
|
||||
up => sub {
|
||||
bug_number => "30200",
|
||||
description => "Add ILLRequestsTabs system preference",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ($dbh, $out) = @$args{qw(dbh out)};
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
# Do you stuffs here
|
||||
$dbh->do(q{
|
||||
INSERT INTO `systempreferences`
|
||||
$dbh->do(
|
||||
q{
|
||||
INSERT IGNORE INTO `systempreferences`
|
||||
(variable,value,options,explanation,type)
|
||||
VALUES
|
||||
('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea');
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue