Koha-clms/installer/data/mysql/atomicupdate/bug_30077_add_syspref_Intra...

15 lines
584 B
Perl
Executable File

use Modern::Perl;
return {
bug_number => "30077",
description => "Add the system preference IntranetAddMastheadLibraryPulldown",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) VALUES ('IntranetAddMastheadLibraryPulldown','0','','Add a library select pulldown menu on the staff header search','YesNo ')
});
say $out "Finished adding system preference IntranetAddMastheadLibraryPulldown";
},
};