Bug 41123: Remove useless dbh call in Koha::Patron
Test plan:
Read the patch.
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Aleisha Amohia <aleisha@catalyst.net.nz>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 1a2d1774f0)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
f298d75280
commit
e82a85a105
|
|
@ -1260,7 +1260,6 @@ sub has_restricting_overdues {
|
|||
# Fetch first delayX value from overduerules where debarredX is set, or 0 for no delay
|
||||
sub _get_overdue_debarred_delay {
|
||||
my ( $branchcode, $categorycode ) = @_;
|
||||
my $dbh = C4::Context->dbh();
|
||||
|
||||
# We get default rules if there is no rule for this branch
|
||||
my $rule = Koha::OverdueRules->find(
|
||||
|
|
|
|||
Loading…
Reference in New Issue