Koha/installer/data/mysql/db_revs/230600040.pl
Tomas Cohen Arazi 55a30f7c15
Bug 25816: DBRev 23.06.00.040
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-20 14:43:56 -03:00

19 lines
620 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "25816",
description => "Add OPAC messages in SIP display",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('SIP2AddOpacMessagesToScreenMessage','0','','If enabled, patron OPAC messages will be included in the SIP2 screen message','YesNo')
}
);
say $out "Added new system preference 'SIP2AddOpacMessagesToScreenMessage'";
},
};