From 6767b4e240c85eab7403be342dfb347774d5e3b2 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 15 Feb 2023 13:05:55 +0000 Subject: [PATCH] Bug 32334: (QA follow-up) Remove unused modules Signed-off-by: Marcel de Rooy Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- Koha/Database/Commenter.pm | 1 - misc/maintenance/sync_db_comments.pl | 1 - t/db_dependent/Koha/Database/Commenter.t | 4 ---- 3 files changed, 6 deletions(-) diff --git a/Koha/Database/Commenter.pm b/Koha/Database/Commenter.pm index c70b0add94..66d8d05ce9 100644 --- a/Koha/Database/Commenter.pm +++ b/Koha/Database/Commenter.pm @@ -18,7 +18,6 @@ package Koha::Database::Commenter; # along with Koha; if not, see . use Modern::Perl; -use Data::Dumper qw(Dumper); use File::Slurp qw(read_file); use Koha::Exceptions; diff --git a/misc/maintenance/sync_db_comments.pl b/misc/maintenance/sync_db_comments.pl index c5eb8cfdbc..3382467e5b 100755 --- a/misc/maintenance/sync_db_comments.pl +++ b/misc/maintenance/sync_db_comments.pl @@ -20,7 +20,6 @@ # along with Koha; if not, see . use Modern::Perl; -use Data::Dumper qw(Dumper); use Getopt::Long qw( GetOptions ); use Pod::Usage qw( pod2usage ); diff --git a/t/db_dependent/Koha/Database/Commenter.t b/t/db_dependent/Koha/Database/Commenter.t index 09ad771c51..cf1375311e 100755 --- a/t/db_dependent/Koha/Database/Commenter.t +++ b/t/db_dependent/Koha/Database/Commenter.t @@ -1,14 +1,10 @@ #!/usr/bin/perl use Modern::Perl; -use Data::Dumper qw/Dumper/; use File::Temp qw(); -#use Test::MockModule; use Test::More tests => 2; use Test::Exception; -#use t::lib::Mocks; - use C4::Context; use Koha::Database; use Koha::Database::Commenter; -- 2.39.5