Bug 41084: Re-format database update for new way of addind system preferences
... also adds say_success. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
5d8af22026
commit
667df54aed
|
|
@ -1,4 +1,5 @@
|
|||
use Modern::Perl;
|
||||
use Koha::Installer::Output qw(say_warning say_success say_info);
|
||||
|
||||
return {
|
||||
bug_number => "41084",
|
||||
|
|
@ -9,11 +10,11 @@ return {
|
|||
|
||||
$dbh->do(
|
||||
q{
|
||||
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
|
||||
('EnableZotero','1','','Enable Zotero export functionality','YesNo')
|
||||
INSERT IGNORE INTO systempreferences (variable,value) VALUES
|
||||
('EnableZotero','1')
|
||||
}
|
||||
);
|
||||
|
||||
say $out "Added new system preference 'EnableZotero'";
|
||||
say_success( $out, "Added new system preference 'EnableZotero'" );
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue