From fdb16d56982b90e636ac6b7da572cc28fc060ae9 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> 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 <m.de.rooy@rijksmuseum.nl> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 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 c70b0add940..66d8d05ce95 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 <http://www.gnu.org/licenses>. 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 c5eb8cfdbc1..3382467e5b2 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 <http://www.gnu.org/licenses>. 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 09ad771c513..cf1375311eb 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.25.1