From 4a37506edb0e6702091e7a3adafd513d2076d04d 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 --- 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 934611f..46f948b 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 f2c499f..111bafb 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 94888ba..8b7d890 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 8aa6f6d..5f9c8f9 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 279c0cc..3fccf3c 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 5ba395c..1f7e404 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 916872e..c167ede 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 684b2d6..53c04f8 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 adc087d..a107441 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 4c5358c..7efd13f 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 e7d2630..dbb1c82 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.7.3