From 4c0e3096774d27bd267cd69f5183af30f09a2555 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 9 Mar 2016 12:39:11 +0000 Subject: [PATCH] Bug 16011: $VERSION - Remove use vars qw(); perl -p -i -e 's/use vars qw\(\s*\);\n//' **/*.pm Signed-off-by: Josef Moravec Signed-off-by: Tomas Cohen Arazi Signed-off-by: Brendan A Gallagher --- C4/BackgroundJob.pm | 1 - C4/ClassSortRoutine/Dewey.pm | 1 - C4/ClassSortRoutine/Generic.pm | 1 - C4/ClassSortRoutine/LCC.pm | 1 - C4/Matcher.pm | 1 - C4/Members/AttributeTypes.pm | 1 - C4/Members/Messaging.pm | 1 - C4/SMS.pm | 1 - Koha/Misc/Files.pm | 1 - Koha/Patron/Files.pm | 1 - Koha/Template/Plugin/Cache.pm | 1 - 11 files changed, 11 deletions(-) diff --git a/C4/BackgroundJob.pm b/C4/BackgroundJob.pm index 934611f32a..46f948b5cb 100644 --- a/C4/BackgroundJob.pm +++ b/C4/BackgroundJob.pm @@ -24,7 +24,6 @@ use C4::Context; use C4::Auth qw/get_session/; use Digest::MD5; -use vars qw(); BEGIN { } diff --git a/C4/ClassSortRoutine/Dewey.pm b/C4/ClassSortRoutine/Dewey.pm index f2c499f80b..111bafb537 100644 --- a/C4/ClassSortRoutine/Dewey.pm +++ b/C4/ClassSortRoutine/Dewey.pm @@ -20,7 +20,6 @@ package C4::ClassSortRoutine::Dewey; use strict; use warnings; -use vars qw(); =head1 NAME diff --git a/C4/ClassSortRoutine/Generic.pm b/C4/ClassSortRoutine/Generic.pm index 94888ba6d4..8b7d890394 100644 --- a/C4/ClassSortRoutine/Generic.pm +++ b/C4/ClassSortRoutine/Generic.pm @@ -20,7 +20,6 @@ package C4::ClassSortRoutine::Generic; use strict; use warnings; -use vars qw(); =head1 NAME diff --git a/C4/ClassSortRoutine/LCC.pm b/C4/ClassSortRoutine/LCC.pm index 8aa6f6d1ad..5f9c8f9c6f 100644 --- a/C4/ClassSortRoutine/LCC.pm +++ b/C4/ClassSortRoutine/LCC.pm @@ -22,7 +22,6 @@ use strict; use warnings; use Library::CallNumber::LC; -use vars qw(); =head1 NAME diff --git a/C4/Matcher.pm b/C4/Matcher.pm index 279c0ccb76..3fccf3c78c 100644 --- a/C4/Matcher.pm +++ b/C4/Matcher.pm @@ -23,7 +23,6 @@ use warnings; use C4::Context; use MARC::Record; -use vars qw(); BEGIN { } diff --git a/C4/Members/AttributeTypes.pm b/C4/Members/AttributeTypes.pm index 5ba395cb1c..1f7e404f13 100644 --- a/C4/Members/AttributeTypes.pm +++ b/C4/Members/AttributeTypes.pm @@ -21,7 +21,6 @@ use strict; #use warnings; FIXME - Bug 2505 use C4::Context; -use vars qw(); BEGIN { } diff --git a/C4/Members/Messaging.pm b/C4/Members/Messaging.pm index 916872e469..c167ede256 100644 --- a/C4/Members/Messaging.pm +++ b/C4/Members/Messaging.pm @@ -21,7 +21,6 @@ use strict; use warnings; use C4::Context; -use vars qw(); BEGIN { } diff --git a/C4/SMS.pm b/C4/SMS.pm index 684b2d676d..53c04f88b6 100644 --- a/C4/SMS.pm +++ b/C4/SMS.pm @@ -37,7 +37,6 @@ use warnings; use C4::Context; -use vars qw( ); BEGIN { } diff --git a/Koha/Misc/Files.pm b/Koha/Misc/Files.pm index adc087d278..a107441b6d 100644 --- a/Koha/Misc/Files.pm +++ b/Koha/Misc/Files.pm @@ -20,7 +20,6 @@ package Koha::Misc::Files; # along with Koha; if not, see . use Modern::Perl; -use vars qw(); use C4::Context; use C4::Output; diff --git a/Koha/Patron/Files.pm b/Koha/Patron/Files.pm index 4c5358c8e7..7efd13faef 100644 --- a/Koha/Patron/Files.pm +++ b/Koha/Patron/Files.pm @@ -19,7 +19,6 @@ package Koha::Patron::Files; use Modern::Perl; -use vars qw(); use C4::Context; use C4::Output; diff --git a/Koha/Template/Plugin/Cache.pm b/Koha/Template/Plugin/Cache.pm index e7d26300aa..dbb1c82f49 100644 --- a/Koha/Template/Plugin/Cache.pm +++ b/Koha/Template/Plugin/Cache.pm @@ -19,7 +19,6 @@ package Koha::Template::Plugin::Cache; use strict; use warnings; -use vars qw( ); use base qw( Template::Plugin ); use Template::Plugin; use C4::Context; -- 2.39.5