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 commit1a2d1774f0) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> (cherry picked from commite82a85a105) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
bc7df6e6f1
commit
2a2d7eb0d2
|
|
@ -1219,7 +1219,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