LP1895660: SuperCat.pm
authorJason Boyer <JBoyer@equinoxinitiative.org>
Tue, 15 Sep 2020 13:00:15 +0000 (09:00 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 14 May 2021 21:38:01 +0000 (17:38 -0400)
"my" variable $U masks earlier declaration in same scope

AppUtils is 'use'-ed and assigned to $U at the top of the file
and shared among the rest of the modules already.

Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm

index 2715571..edaa48c 100644 (file)
@@ -3797,9 +3797,6 @@ sub as_xml {
 package OpenILS::Application::SuperCat::unAPI::acp;
 use base qw/OpenILS::Application::SuperCat::unAPI/;
 
-use OpenILS::Application::AppUtils;
-my $U = "OpenILS::Application::AppUtils";
-
 sub as_xml {
     my $self = shift;
     my $args = shift;