Koha-clms/installer/data/mysql/db_revs/210600021.pl

15 lines
343 B
Perl
Executable File

use Modern::Perl;
return {
bug_number => "28774",
description => "Delete blank rental discounts",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
DELETE FROM circulation_rules
WHERE rule_name = 'rentaldiscount' AND rule_value=''
});
},
}