Commit ea5655e3 authored by joubu's avatar joubu

(follow-up) Fix for bug 18936

See bug 25556, we don't need those rules to be inserted.
(no behaviour changes expected)
parent 2e7aa8d9
......@@ -146,29 +146,8 @@ sub insert_default_circ_rule {
}
};
my $params_2 = {
branchcode => undef,
categorycode => undef,
rules => {
patron_maxissueqty => "",
patron_maxonsiteissueqty => "",
max_holds => "",
}
};
my $params_3 = {
branchcode => undef,
itemtype => undef,
rules => {
holdallowed => undef,
hold_fulfillment_policy => undef,
returnbranch => undef,
}
};
Koha::CirculationRules->set_rules($params);
Koha::CirculationRules->set_rules($params_2);
Koha::CirculationRules->set_rules($params_3);
} else {
if ( $VERSION >= '181200020' ) {
my $sth = $dbh->prepare (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment