From 672bc0ac73cb526b8b361e8d3f7f9d1bd3fab212 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 24 Jun 2021 09:44:33 +0200 Subject: [PATCH] Bug 28624: Remove Smart::Comments It's not used in those files (there is no occurrence of ###), and it's not installed anyway (it is by koha-testing-docker however). We should remove those lines. Test plan: Confirm the above --- about.pl | 3 --- admin/preferences.pl | 3 --- labels/spinelabel-home.pl | 2 -- members/update-child.pl | 2 -- serials/subscription-add.pl | 2 -- 5 files changed, 12 deletions(-) diff --git a/about.pl b/about.pl index 3320b36b812..cee56187bb7 100755 --- a/about.pl +++ b/about.pl @@ -58,9 +58,6 @@ use Koha::Filter::MARC::ViewPolicy; use C4::Members::Statistics; - -#use Smart::Comments '####'; - my $query = CGI->new; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { diff --git a/admin/preferences.pl b/admin/preferences.pl index f3879d7cb93..b620d8e1432 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -35,9 +35,6 @@ use YAML::XS; use Encode; use List::MoreUtils qw(any); -# use Smart::Comments; -# - sub GetTab { my ( $input, $tab ) = @_; diff --git a/labels/spinelabel-home.pl b/labels/spinelabel-home.pl index 3648670af20..30fc798b03d 100755 --- a/labels/spinelabel-home.pl +++ b/labels/spinelabel-home.pl @@ -21,8 +21,6 @@ use C4::Auth; use C4::Output; use C4::Context; -# use Smart::Comments; - my $query = CGI->new; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "labels/spinelabel-home.tt", diff --git a/members/update-child.pl b/members/update-child.pl index d2f9c49e3ad..496214f7f6a 100755 --- a/members/update-child.pl +++ b/members/update-child.pl @@ -35,8 +35,6 @@ use Koha::Patrons; use Koha::Patron::Categories; use Koha::Patrons; -# use Smart::Comments; - my $dbh = C4::Context->dbh; my $input = CGI->new; diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl index 96891487bc1..0cec5d083bb 100755 --- a/serials/subscription-add.pl +++ b/serials/subscription-add.pl @@ -39,8 +39,6 @@ use Koha::Subscription::Numberpattern; use Koha::Subscription::Frequency; use Koha::SharedContent; -#use Smart::Comments; - our $query = CGI->new; my $op = $query->param('op') || ''; my $dbh = C4::Context->dbh; -- 2.20.1