From 2e8a51786578245a04e479d4dbf4255f9b9d2cc1 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 1 Mar 2024 10:29:56 +0000 Subject: [PATCH] Bug 31427: Remove a few refs to CanBookBeRenewed Actually, the module is not even needed anymore here. Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer (cherry picked from commit 3b8a3c7b869fefbe6809ecbd00311d433d1d7904) Signed-off-by: Fridolin Somers --- Koha/Account.pm | 1 - misc/cronjobs/automatic_renewals.pl | 1 - 2 files changed, 2 deletions(-) diff --git a/Koha/Account.pm b/Koha/Account.pm index ad08a6df4b..3d0fcee854 100644 --- a/Koha/Account.pm +++ b/Koha/Account.pm @@ -23,7 +23,6 @@ use Carp; use Data::Dumper qw( Dumper ); use Try::Tiny qw( catch try ); -use C4::Circulation qw( ReturnLostItem CanBookBeRenewed AddRenewal ); use C4::Letters; use C4::Log qw( logaction ); use C4::Stats qw( UpdateStats ); diff --git a/misc/cronjobs/automatic_renewals.pl b/misc/cronjobs/automatic_renewals.pl index 8661d4f47b..f452fefc04 100755 --- a/misc/cronjobs/automatic_renewals.pl +++ b/misc/cronjobs/automatic_renewals.pl @@ -79,7 +79,6 @@ use Pod::Usage qw( pod2usage ); use Getopt::Long qw( GetOptions ); use Koha::Script -cron; -use C4::Circulation qw( CanBookBeRenewed AddRenewal ); use C4::Context; use C4::Log qw( cronlogaction ); use C4::Letters; -- 2.39.5