Koha/installer/data/mysql/atomicupdate/bug_33317.pl
Hammat Wele 3708396e84
Bug 33317: Using checkoxes in OpacMetaRobots preference system to prevent incorrect data entry
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-06-25 18:34:17 +02:00

14 lines
No EOL
462 B
Perl

use Modern::Perl;
return {
bug_number => "33317",
description => "Add new system preference OpacMetaRobots",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('OpacMetaRobots','','','Improve search engine crawling.', 'Multiple') });
say $out "Added system preference 'OpacMetaRobots'";
},
};