From 4211dbe288d4115968f994517bb660e00a2eec96 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 28 Oct 2025 14:29:38 +0100 Subject: [PATCH] Bug 41123: Remove useless dbh call in Koha::Patron Content-Type: text/plain; charset=utf-8 Test plan: Read the patch. Signed-off-by: Marcel de Rooy --- Koha/Patron.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 5d68d7c97d..d10b70db1c 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -1306,7 +1306,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( -- 2.39.5