Koha/installer/data/mysql/db_revs/210600036.pl
Jonathan Druart e88ee4c1c0 Bug 29200: DBRev 21.06.00.036
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-21 12:24:04 +02:00

12 lines
391 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "29200",
description => "Remove Adlibris cover service integration",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{DELETE FROM systempreferences WHERE variable LIKE 'AdlibrisCovers%'});
say $out "AdlibrisCoversEnabled and AdlibrisCoversURL preferences removed.";
},
}