Koha/installer/data/mysql/db_revs/210600044.pl
Jonathan Druart a691760ac2 Bug 29180: DBRev 21.06.00.044
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-05 12:17:08 +01:00

15 lines
391 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "29180",
description => "Rename system preference RequestOnOpac with OPACHoldRequests",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
UPDATE systempreferences
SET variable="OPACHoldRequests"
WHERE variable="RequestOnOpac"
});
},
}