From cb2eae80d996f007566e79baa46e057a743029aa 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 Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- 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 be253d2396..0410feb1e9 100755 --- a/about.pl +++ b/about.pl @@ -55,9 +55,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 49d06ad996..bbb41d7507 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -33,9 +33,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 b149f31899..3e9f016146 100755 --- a/labels/spinelabel-home.pl +++ b/labels/spinelabel-home.pl @@ -21,8 +21,6 @@ use C4::Auth qw( get_template_and_user ); use C4::Output qw( output_html_with_http_headers ); 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 f6f3e0ce74..0742411f1f 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 b61012ee02..39426a6253 100755 --- a/serials/subscription-add.pl +++ b/serials/subscription-add.pl @@ -38,8 +38,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.39.5