From 017699c345725ea7012f1b84181dc053e20efd98 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 3 Mar 2016 09:14:00 +0000 Subject: [PATCH] Bug 16011: $VERSION - Remove the $VERSION init Mainly a perl -p -i -e 's/^.*3.07.00.049.*\n//' **/*.pm Then some adjustements Signed-off-by: Josef Moravec Signed-off-by: Tomas Cohen Arazi Signed-off-by: Brendan A Gallagher --- C4/Accounts.pm | 1 - C4/Acquisition.pm | 1 - C4/Auth.pm | 1 - C4/Auth_with_cas.pm | 1 - C4/Auth_with_ldap.pm | 1 - C4/Auth_with_shibboleth.pm | 1 - C4/AuthoritiesMarc.pm | 1 - C4/AuthoritiesMarc/MARC21.pm | 1 - C4/AuthoritiesMarc/UNIMARC.pm | 1 - C4/BackgroundJob.pm | 1 - C4/Barcodes.pm | 1 - C4/Barcodes/EAN13.pm | 1 - C4/Barcodes/annual.pm | 1 - C4/Barcodes/hbyymmincr.pm | 1 - C4/Barcodes/incremental.pm | 1 - C4/Biblio.pm | 1 - C4/Bookseller.pm | 1 - C4/Boolean.pm | 1 - C4/Branch.pm | 1 - C4/Breeding.pm | 1 - C4/Budgets.pm | 1 - C4/Charset.pm | 1 - C4/Circulation.pm | 1 - C4/ClassSortRoutine.pm | 1 - C4/ClassSortRoutine/Dewey.pm | 1 - C4/ClassSortRoutine/Generic.pm | 1 - C4/ClassSortRoutine/LCC.pm | 1 - C4/ClassSource.pm | 1 - C4/Context.pm | 1 - C4/Contract.pm | 1 - C4/Creators.pm | 1 - C4/Creators/Batch.pm | 1 - C4/Creators/Layout.pm | 1 - C4/Creators/Lib.pm | 1 - C4/Creators/PDF.pm | 1 - C4/Creators/Profile.pm | 1 - C4/Creators/Template.pm | 1 - C4/Csv.pm | 1 - C4/Debug.pm | 1 - C4/External/Amazon.pm | 1 - C4/External/BakerTaylor.pm | 1 - C4/External/OverDrive.pm | 1 - C4/External/Syndetics.pm | 1 - C4/Heading.pm | 1 - C4/Heading/MARC21.pm | 1 - C4/Heading/UNIMARC.pm | 1 - C4/HoldsQueue.pm | 1 - C4/Images.pm | 1 - C4/ImportBatch.pm | 1 - C4/ImportExportFramework.pm | 1 - C4/InstallAuth.pm | 1 - C4/Installer.pm | 1 - C4/Installer/PerlModules.pm | 1 - C4/Items.pm | 1 - C4/Koha.pm | 1 - C4/Labels.pm | 1 - C4/Labels/Batch.pm | 1 - C4/Labels/Label.pm | 1 - C4/Labels/Layout.pm | 1 - C4/Labels/Profile.pm | 1 - C4/Labels/Template.pm | 1 - C4/Languages.pm | 1 - C4/Letters.pm | 1 - C4/Log.pm | 1 - C4/MarcModificationTemplates.pm | 1 - C4/Matcher.pm | 1 - C4/Members.pm | 1 - C4/Members/AttributeTypes.pm | 1 - C4/Members/Attributes.pm | 1 - C4/Members/Messaging.pm | 1 - C4/NewsChannels.pm | 1 - C4/Output.pm | 1 - C4/Overdues.pm | 1 - C4/Patroncards.pm | 1 - C4/Patroncards/Batch.pm | 1 - C4/Patroncards/Layout.pm | 1 - C4/Patroncards/Lib.pm | 1 - C4/Patroncards/Patroncard.pm | 1 - C4/Patroncards/Profile.pm | 1 - C4/Patroncards/Template.pm | 1 - C4/Print.pm | 1 - C4/Ratings.pm | 1 - C4/Record.pm | 1 - C4/Reports.pm | 1 - C4/Reports/Guided.pm | 1 - C4/Reserves.pm | 1 - C4/Review.pm | 1 - C4/Ris.pm | 1 - C4/RotatingCollections.pm | 1 - C4/SIP/ILS/Item.pm | 1 - C4/SIP/ILS/Patron.pm | 1 - C4/SIP/ILS/Transaction/Checkout.pm | 1 - C4/SIP/ILS/Transaction/FeePayment.pm | 1 - C4/SIP/ILS/Transaction/Hold.pm | 1 - C4/SIP/Sip.pm | 1 - C4/SIP/Sip/MsgType.pm | 1 - C4/SMS.pm | 1 - C4/Scheduler.pm | 1 - C4/Scrubber.pm | 1 - C4/Search.pm | 1 - C4/Serials.pm | 1 - C4/Serials/Frequency.pm | 1 - C4/Serials/Numberpattern.pm | 1 - C4/ShelfBrowser.pm | 1 - C4/Stats.pm | 1 - C4/Suggestions.pm | 1 - C4/Tags.pm | 1 - C4/TmplToken.pm | 1 - C4/TmplTokenType.pm | 1 - C4/Utils/DataTables.pm | 1 - C4/XISBN.pm | 1 - C4/XSLT.pm | 1 - Koha/AuthUtils.pm | 1 - Koha/Filter/MARC/EmbedSeeFromHeadings.pm | 1 - Koha/Filter/MARC/Null.pm | 1 - Koha/Misc/Files.pm | 1 - Koha/Patron/Files.pm | 1 - Koha/Patron/Password/Recovery.pm | 1 - Koha/RecordProcessor/Base.pm | 1 - Koha/SimpleMARC.pm | 1 - Koha/Template/Plugin/Cache.pm | 1 - acqui/pdfformat/layout2pages.pm | 1 - acqui/pdfformat/layout2pagesde.pm | 1 - acqui/pdfformat/layout3pages.pm | 1 - acqui/pdfformat/layout3pagesfr.pm | 1 - install_misc/UpgradeBackup.pm | 1 - misc/translator/TmplTokenizer.pm | 1 - misc/translator/VerboseWarnings.pm | 1 - t/Koha/Plugin/Test.pm | 1 - 129 files changed, 129 deletions(-) diff --git a/C4/Accounts.pm b/C4/Accounts.pm index b10ae89152..be853a7f93 100644 --- a/C4/Accounts.pm +++ b/C4/Accounts.pm @@ -32,7 +32,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 4ec7eab975..27738be220 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -45,7 +45,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Auth.pm b/C4/Auth.pm index ff5eb0db66..fef418da91 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -49,7 +49,6 @@ BEGIN { if (psgi_env) { die 'psgi:exit' } else { exit } } - $VERSION = 3.07.00.049; # set version for version checking $debug = $ENV{DEBUG}; @ISA = qw(Exporter); diff --git a/C4/Auth_with_cas.pm b/C4/Auth_with_cas.pm index 884a547433..c9174dae50 100644 --- a/C4/Auth_with_cas.pm +++ b/C4/Auth_with_cas.pm @@ -32,7 +32,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $debug); BEGIN { require Exporter; - $VERSION = 3.07.00.049; # set the version for version checking $debug = $ENV{DEBUG}; @ISA = qw(Exporter); @EXPORT = qw(check_api_auth_cas checkpw_cas login_cas logout_cas login_cas_url); diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm index 00304b715b..4a9c302417 100644 --- a/C4/Auth_with_ldap.pm +++ b/C4/Auth_with_ldap.pm @@ -37,7 +37,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $debug); BEGIN { require Exporter; - $VERSION = 3.07.00.049; # set the version for version checking @ISA = qw(Exporter); @EXPORT = qw( checkpw_ldap ); } diff --git a/C4/Auth_with_shibboleth.pm b/C4/Auth_with_shibboleth.pm index bbf556ede7..7f0db831d5 100644 --- a/C4/Auth_with_shibboleth.pm +++ b/C4/Auth_with_shibboleth.pm @@ -29,7 +29,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $debug); BEGIN { require Exporter; - $VERSION = 3.03; # set the version for version checking $debug = $ENV{DEBUG}; @ISA = qw(Exporter); @EXPORT = diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 430e31ed38..d6f7d34b60 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -34,7 +34,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); diff --git a/C4/AuthoritiesMarc/MARC21.pm b/C4/AuthoritiesMarc/MARC21.pm index f1fc4ce02c..8ebae705fe 100644 --- a/C4/AuthoritiesMarc/MARC21.pm +++ b/C4/AuthoritiesMarc/MARC21.pm @@ -20,7 +20,6 @@ package C4::AuthoritiesMarc::MARC21; use strict; #use warnings; FIXME - Bug 2505 use MARC::Record; -our $VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/AuthoritiesMarc/UNIMARC.pm b/C4/AuthoritiesMarc/UNIMARC.pm index 48c34c8aee..02c083e723 100644 --- a/C4/AuthoritiesMarc/UNIMARC.pm +++ b/C4/AuthoritiesMarc/UNIMARC.pm @@ -19,7 +19,6 @@ package C4::AuthoritiesMarc::UNIMARC; use strict; #use warnings; FIXME - Bug 2505 -our $VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/BackgroundJob.pm b/C4/BackgroundJob.pm index f7dfe882f6..09bad9a918 100644 --- a/C4/BackgroundJob.pm +++ b/C4/BackgroundJob.pm @@ -28,7 +28,6 @@ use vars qw(); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; } =head1 NAME diff --git a/C4/Barcodes.pm b/C4/Barcodes.pm index 20b564d0c4..256a177680 100644 --- a/C4/Barcodes.pm +++ b/C4/Barcodes.pm @@ -34,7 +34,6 @@ use vars qw($debug $cgi_debug); # from C4::Debug, of course use vars qw($max $prefformat); BEGIN { - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT_OK = qw(); diff --git a/C4/Barcodes/EAN13.pm b/C4/Barcodes/EAN13.pm index 30c03c4f10..9f9153e57e 100644 --- a/C4/Barcodes/EAN13.pm +++ b/C4/Barcodes/EAN13.pm @@ -30,7 +30,6 @@ use vars qw(@ISA); use vars qw($debug $cgi_debug); # from C4::Debug, of course BEGIN { - $VERSION = 0.01; @ISA = qw(C4::Barcodes); } diff --git a/C4/Barcodes/annual.pm b/C4/Barcodes/annual.pm index b67492010b..eb0e80e25c 100644 --- a/C4/Barcodes/annual.pm +++ b/C4/Barcodes/annual.pm @@ -32,7 +32,6 @@ use vars qw($debug $cgi_debug); # from C4::Debug, of course use vars qw($width); BEGIN { - $VERSION = 3.07.00.049; @ISA = qw(C4::Barcodes); $width = 4; } diff --git a/C4/Barcodes/hbyymmincr.pm b/C4/Barcodes/hbyymmincr.pm index 6716778638..4942443d40 100644 --- a/C4/Barcodes/hbyymmincr.pm +++ b/C4/Barcodes/hbyymmincr.pm @@ -32,7 +32,6 @@ use vars qw($debug $cgi_debug); # from C4::Debug, of course use vars qw($branch $width); BEGIN { - $VERSION = 3.07.00.049; @ISA = qw(C4::Barcodes); } diff --git a/C4/Barcodes/incremental.pm b/C4/Barcodes/incremental.pm index f5a09900e4..a2bf6e462e 100644 --- a/C4/Barcodes/incremental.pm +++ b/C4/Barcodes/incremental.pm @@ -23,7 +23,6 @@ use warnings; use vars qw(@ISA); BEGIN { - $VERSION = 3.07.00.049; @ISA = qw(C4::Barcodes); } diff --git a/C4/Biblio.pm b/C4/Biblio.pm index fe60efa952..188870c74c 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -45,7 +45,6 @@ use Koha::Acquisition::Currencies; use vars qw(@ISA @EXPORT); BEGIN { - $VERSION = 3.07.00.049; require Exporter; @ISA = qw( Exporter ); diff --git a/C4/Bookseller.pm b/C4/Bookseller.pm index e37eab7742..2dbf4271df 100644 --- a/C4/Bookseller.pm +++ b/C4/Bookseller.pm @@ -26,7 +26,6 @@ use base qw( Exporter ); use C4::Bookseller::Contact; # set the version for version checking -our $VERSION = 3.07.00.049; our @EXPORT_OK = qw( GetBooksellersWithLateOrders ModBookseller diff --git a/C4/Boolean.pm b/C4/Boolean.pm index 442c57e1e5..7ef9fc0674 100644 --- a/C4/Boolean.pm +++ b/C4/Boolean.pm @@ -27,7 +27,6 @@ use warnings; use Carp; use base qw(Exporter); -our $VERSION = 3.07.00.049; our @EXPORT_OK = qw( true_p); =head1 NAME diff --git a/C4/Branch.pm b/C4/Branch.pm index c1ea659b41..78aa7a0232 100644 --- a/C4/Branch.pm +++ b/C4/Branch.pm @@ -26,7 +26,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT = qw( &GetBranchName diff --git a/C4/Breeding.pm b/C4/Breeding.pm index d9d5642958..0b1dec5655 100644 --- a/C4/Breeding.pm +++ b/C4/Breeding.pm @@ -35,7 +35,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(&BreedingSearch &Z3950Search &Z3950SearchAuth); diff --git a/C4/Budgets.pm b/C4/Budgets.pm index 76876fe066..547d7269ed 100644 --- a/C4/Budgets.pm +++ b/C4/Budgets.pm @@ -26,7 +26,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Charset.pm b/C4/Charset.pm index 86b8c1531f..173f9d28d1 100644 --- a/C4/Charset.pm +++ b/C4/Charset.pm @@ -30,7 +30,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 689110111e..70ae3fd473 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -68,7 +68,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { require Exporter; - $VERSION = 3.07.00.049; # for version checking @ISA = qw(Exporter); # FIXME subs that should probably be elsewhere diff --git a/C4/ClassSortRoutine.pm b/C4/ClassSortRoutine.pm index 8ca2ee4e94..a0ce00cc60 100644 --- a/C4/ClassSortRoutine.pm +++ b/C4/ClassSortRoutine.pm @@ -27,7 +27,6 @@ use C4::Context; use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); # set the version for version checking -$VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/ClassSortRoutine/Dewey.pm b/C4/ClassSortRoutine/Dewey.pm index 9578244fce..3f9c97e1df 100644 --- a/C4/ClassSortRoutine/Dewey.pm +++ b/C4/ClassSortRoutine/Dewey.pm @@ -23,7 +23,6 @@ use warnings; use vars qw(); # set the version for version checking -$VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/ClassSortRoutine/Generic.pm b/C4/ClassSortRoutine/Generic.pm index ef4e13b903..458200c7fa 100644 --- a/C4/ClassSortRoutine/Generic.pm +++ b/C4/ClassSortRoutine/Generic.pm @@ -23,7 +23,6 @@ use warnings; use vars qw(); # set the version for version checking -$VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/ClassSortRoutine/LCC.pm b/C4/ClassSortRoutine/LCC.pm index 1fe652d050..aac52218a5 100644 --- a/C4/ClassSortRoutine/LCC.pm +++ b/C4/ClassSortRoutine/LCC.pm @@ -25,7 +25,6 @@ use Library::CallNumber::LC; use vars qw(); # set the version for version checking -$VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/ClassSource.pm b/C4/ClassSource.pm index 1130dfbc98..5f8cfe3fec 100644 --- a/C4/ClassSource.pm +++ b/C4/ClassSource.pm @@ -27,7 +27,6 @@ use C4::ClassSortRoutine; use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); # set the version for version checking -$VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/Context.pm b/C4/Context.pm index 34a29264d1..4f020c45f0 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -103,7 +103,6 @@ BEGIN { $ismemcached = $memcached->set('ismemcached','1'); } - $VERSION = '3.07.00.049'; } use Encode; diff --git a/C4/Contract.pm b/C4/Contract.pm index b456528c2e..b1e7c5c4bc 100644 --- a/C4/Contract.pm +++ b/C4/Contract.pm @@ -27,7 +27,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Creators.pm b/C4/Creators.pm index 7e76281bd2..f73a6fc2f5 100644 --- a/C4/Creators.pm +++ b/C4/Creators.pm @@ -18,7 +18,6 @@ package C4::Creators; # along with Koha; if not, see . BEGIN { - use version; our $VERSION = qv('3.07.00.049'); use vars qw(@EXPORT @ISA); @ISA = qw(Exporter); our @EXPORT = qw(get_all_templates diff --git a/C4/Creators/Batch.pm b/C4/Creators/Batch.pm index 4fcf3c4827..2c2f540c7e 100644 --- a/C4/Creators/Batch.pm +++ b/C4/Creators/Batch.pm @@ -9,7 +9,6 @@ use C4::Context; use C4::Debug; BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } sub _check_params { diff --git a/C4/Creators/Layout.pm b/C4/Creators/Layout.pm index 83274afb3e..e274f37f42 100644 --- a/C4/Creators/Layout.pm +++ b/C4/Creators/Layout.pm @@ -10,7 +10,6 @@ use C4::Debug; use C4::Creators::PDF; BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } # FIXME: Consider this style parameter verification instead... diff --git a/C4/Creators/Lib.pm b/C4/Creators/Lib.pm index 3f4c617bd9..2063d5de81 100644 --- a/C4/Creators/Lib.pm +++ b/C4/Creators/Lib.pm @@ -26,7 +26,6 @@ use C4::Context; use C4::Debug; BEGIN { - use version; our $VERSION = qv('3.07.00.049'); use base qw(Exporter); our @EXPORT = qw(get_all_templates get_all_layouts diff --git a/C4/Creators/PDF.pm b/C4/Creators/PDF.pm index e0c8847128..f0f5cbd90a 100644 --- a/C4/Creators/PDF.pm +++ b/C4/Creators/PDF.pm @@ -25,7 +25,6 @@ use File::Temp; use List::Util qw/first/; BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } sub _InitVars { diff --git a/C4/Creators/Profile.pm b/C4/Creators/Profile.pm index 54151d10bd..de3723d915 100644 --- a/C4/Creators/Profile.pm +++ b/C4/Creators/Profile.pm @@ -10,7 +10,6 @@ use C4::Debug; use C4::Creators::Lib qw(get_unit_values); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } sub _check_params { diff --git a/C4/Creators/Template.pm b/C4/Creators/Template.pm index ccf3d57179..3edb9e545f 100644 --- a/C4/Creators/Template.pm +++ b/C4/Creators/Template.pm @@ -11,7 +11,6 @@ use C4::Creators::Profile; use C4::Creators::Lib qw(get_unit_values); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } sub _check_params { diff --git a/C4/Csv.pm b/C4/Csv.pm index 47a9032b31..3e6fb120c3 100644 --- a/C4/Csv.pm +++ b/C4/Csv.pm @@ -26,7 +26,6 @@ use C4::Context; use vars qw(@ISA @EXPORT); # set the version for version checking -$VERSION = 3.07.00.049; @ISA = qw(Exporter); diff --git a/C4/Debug.pm b/C4/Debug.pm index 946245c85d..5665618652 100644 --- a/C4/Debug.pm +++ b/C4/Debug.pm @@ -27,7 +27,6 @@ use vars qw(@ISA @EXPORT $debug $cgi_debug); # use vars qw(@EXPORT_OK %EXPORT_TAGS); BEGIN { - $VERSION = 3.07.00.049; # set the version for version checking @ISA = qw(Exporter); @EXPORT = qw($debug $cgi_debug); # @EXPOR_OK = qw(); diff --git a/C4/External/Amazon.pm b/C4/External/Amazon.pm index 6a44cfaa14..a76ab867df 100644 --- a/C4/External/Amazon.pm +++ b/C4/External/Amazon.pm @@ -25,7 +25,6 @@ use vars qw(@ISA @EXPORT); BEGIN { require Exporter; - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT = qw( get_amazon_tld diff --git a/C4/External/BakerTaylor.pm b/C4/External/BakerTaylor.pm index 70133f1525..2135de8b93 100644 --- a/C4/External/BakerTaylor.pm +++ b/C4/External/BakerTaylor.pm @@ -32,7 +32,6 @@ use vars qw($user $pass $agent $image_url $link_url); BEGIN { require Exporter; - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT_OK = qw(&availability &content_cafe &image_url &link_url &http_jacket_link); %EXPORT_TAGS = (all=>\@EXPORT_OK); diff --git a/C4/External/OverDrive.pm b/C4/External/OverDrive.pm index 369377a065..12135c582f 100644 --- a/C4/External/OverDrive.pm +++ b/C4/External/OverDrive.pm @@ -30,7 +30,6 @@ use LWP::UserAgent; BEGIN { require Exporter; - our $VERSION = 3.07.00.049; our @ISA = qw( Exporter ) ; our @EXPORT = qw( IsOverDriveEnabled diff --git a/C4/External/Syndetics.pm b/C4/External/Syndetics.pm index db376e5d25..0570d0f7d6 100644 --- a/C4/External/Syndetics.pm +++ b/C4/External/Syndetics.pm @@ -30,7 +30,6 @@ use vars qw(@ISA @EXPORT); BEGIN { require Exporter; - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT = qw( &get_syndetics_index diff --git a/C4/Heading.pm b/C4/Heading.pm index 95fcf88622..e323b5bcd2 100644 --- a/C4/Heading.pm +++ b/C4/Heading.pm @@ -25,7 +25,6 @@ use C4::Context; use Module::Load; use Carp; -our $VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/Heading/MARC21.pm b/C4/Heading/MARC21.pm index e6a8ed328b..9a50cf6c28 100644 --- a/C4/Heading/MARC21.pm +++ b/C4/Heading/MARC21.pm @@ -22,7 +22,6 @@ use warnings; use MARC::Record; use MARC::Field; -our $VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/Heading/UNIMARC.pm b/C4/Heading/UNIMARC.pm index e5f5bc4b66..fa4eb58fc0 100644 --- a/C4/Heading/UNIMARC.pm +++ b/C4/Heading/UNIMARC.pm @@ -24,7 +24,6 @@ use MARC::Record; use MARC::Field; use C4::Context; -our $VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm index e9562f9ee9..4fda2c6bd1 100755 --- a/C4/HoldsQueue.pm +++ b/C4/HoldsQueue.pm @@ -37,7 +37,6 @@ use Data::Dumper; use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { - $VERSION = 3.03; require Exporter; @ISA = qw(Exporter); @EXPORT_OK = qw( diff --git a/C4/Images.pm b/C4/Images.pm index 5d419dce39..f956c919df 100644 --- a/C4/Images.pm +++ b/C4/Images.pm @@ -30,7 +30,6 @@ use vars qw($debug $noimage @ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 8a69a9424b..ffe63777c8 100644 --- a/C4/ImportBatch.pm +++ b/C4/ImportBatch.pm @@ -34,7 +34,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/ImportExportFramework.pm b/C4/ImportExportFramework.pm index 2e35a68bed..2d3bf07bf4 100644 --- a/C4/ImportExportFramework.pm +++ b/C4/ImportExportFramework.pm @@ -31,7 +31,6 @@ use C4::Debug; use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { - $VERSION = 3.07.00.049; # set version for version checking require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/InstallAuth.pm b/C4/InstallAuth.pm index 6c229f5265..005aea12e6 100644 --- a/C4/InstallAuth.pm +++ b/C4/InstallAuth.pm @@ -31,7 +31,6 @@ use CGI::Session; use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); # set the version for version checking -$VERSION = 3.00; =head1 NAME diff --git a/C4/Installer.pm b/C4/Installer.pm index 5fe2e16982..f110477d71 100644 --- a/C4/Installer.pm +++ b/C4/Installer.pm @@ -21,7 +21,6 @@ use strict; #use warnings; FIXME - Bug 2505 use Encode qw( encode is_utf8 ); -our $VERSION = 3.07.00.049; use C4::Context; use C4::Installer::PerlModules; use DBI; diff --git a/C4/Installer/PerlModules.pm b/C4/Installer/PerlModules.pm index 2f40cf559f..fac0fec2bd 100644 --- a/C4/Installer/PerlModules.pm +++ b/C4/Installer/PerlModules.pm @@ -7,7 +7,6 @@ use File::Spec; use C4::Installer::PerlDependencies; -use version; our $VERSION = qv('3.07.00.049'); our $PERL_DEPS = $C4::Installer::PerlDependencies::PERL_DEPS; diff --git a/C4/Items.pm b/C4/Items.pm index fdb1c525b9..7b41d2b15c 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -42,7 +42,6 @@ use Koha::Database; use vars qw(@ISA @EXPORT); BEGIN { - $VERSION = 3.07.00.049; require Exporter; @ISA = qw( Exporter ); diff --git a/C4/Koha.pm b/C4/Koha.pm index 7c4bf30eb1..36e81dad19 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -35,7 +35,6 @@ use DBI qw(:sql_types); use vars qw(@ISA @EXPORT @EXPORT_OK $DEBUG); BEGIN { - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Labels.pm b/C4/Labels.pm index b4a5e36a26..428be02536 100644 --- a/C4/Labels.pm +++ b/C4/Labels.pm @@ -1,7 +1,6 @@ package C4::Labels; BEGIN { - use version; our $VERSION = qv('3.07.00.049'); use C4::Labels::Batch; use C4::Labels::Label; diff --git a/C4/Labels/Batch.pm b/C4/Labels/Batch.pm index 1ccf76bc94..c8b68cafb8 100644 --- a/C4/Labels/Batch.pm +++ b/C4/Labels/Batch.pm @@ -8,7 +8,6 @@ use base qw(C4::Creators::Batch); use autouse 'Data::Dumper' => qw(Dumper); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } __PACKAGE__ =~ m/^C4::(.+)::.+$/; diff --git a/C4/Labels/Label.pm b/C4/Labels/Label.pm index 9a405af5bf..3ae505f43c 100644 --- a/C4/Labels/Label.pm +++ b/C4/Labels/Label.pm @@ -15,7 +15,6 @@ use C4::Debug; use C4::Biblio; BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } my $possible_decimal = qr/\d{3,}(?:\.\d+)?/; # at least three digits for a DDCN diff --git a/C4/Labels/Layout.pm b/C4/Labels/Layout.pm index 0501ea0015..f64ff829ed 100644 --- a/C4/Labels/Layout.pm +++ b/C4/Labels/Layout.pm @@ -8,7 +8,6 @@ use base qw(C4::Creators::Layout); use autouse 'Data::Dumper' => qw(Dumper); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } __PACKAGE__ =~ m/^C4::(.+)::.+$/; diff --git a/C4/Labels/Profile.pm b/C4/Labels/Profile.pm index 8f41357d01..3f7a8554b7 100644 --- a/C4/Labels/Profile.pm +++ b/C4/Labels/Profile.pm @@ -8,7 +8,6 @@ use base qw(C4::Creators::Profile); use autouse 'Data::Dumper' => qw(Dumper); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } __PACKAGE__ =~ m/^C4::(.+)::.+$/; diff --git a/C4/Labels/Template.pm b/C4/Labels/Template.pm index 17ccea4bd2..2742132f13 100644 --- a/C4/Labels/Template.pm +++ b/C4/Labels/Template.pm @@ -8,7 +8,6 @@ use base qw(C4::Creators::Template); use autouse 'Data::Dumper' => qw(Dumper); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } use constant TEMPLATE_TABLE => 'creator_templates'; diff --git a/C4/Languages.pm b/C4/Languages.pm index 903120390f..affe96c2f7 100644 --- a/C4/Languages.pm +++ b/C4/Languages.pm @@ -40,7 +40,6 @@ eval { }; BEGIN { - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Letters.pm b/C4/Letters.pm index 4d15034f12..31e67f1701 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -44,7 +44,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { require Exporter; # set the version for version checking - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT = qw( &GetLetters &GetLettersAvailableForALibrary &GetLetterTemplates &DelLetter &GetPreparedLetter &GetWrappedLetter &addalert &getalert &delalert &findrelatedto &SendAlerts &GetPrintMessages &GetMessageTransportTypes diff --git a/C4/Log.pm b/C4/Log.pm index 696332c4ed..0fe77116de 100644 --- a/C4/Log.pm +++ b/C4/Log.pm @@ -31,7 +31,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(&logaction &cronlogaction &GetLogStatus &displaylog &GetLogs); diff --git a/C4/MarcModificationTemplates.pm b/C4/MarcModificationTemplates.pm index 85e6a49656..cbd42047fb 100644 --- a/C4/MarcModificationTemplates.pm +++ b/C4/MarcModificationTemplates.pm @@ -29,7 +29,6 @@ use vars qw(@ISA @EXPORT); use constant DEBUG => 0; BEGIN { - $VERSION = 1.00; # set the version for version checking @ISA = qw(Exporter); @EXPORT = qw( &GetModificationTemplates diff --git a/C4/Matcher.pm b/C4/Matcher.pm index 9d8ad69525..d40db5f78e 100644 --- a/C4/Matcher.pm +++ b/C4/Matcher.pm @@ -27,7 +27,6 @@ use vars qw(); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; } =head1 NAME diff --git a/C4/Members.pm b/C4/Members.pm index 60af2644f5..e4b36bf299 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -50,7 +50,6 @@ if ( ! can_load( modules => { 'Koha::NorwegianPatronDB' => undef } ) ) { BEGIN { - $VERSION = 3.07.00.049; $debug = $ENV{DEBUG} || 0; require Exporter; @ISA = qw(Exporter); diff --git a/C4/Members/AttributeTypes.pm b/C4/Members/AttributeTypes.pm index fb297ca70d..fe5be4e589 100644 --- a/C4/Members/AttributeTypes.pm +++ b/C4/Members/AttributeTypes.pm @@ -25,7 +25,6 @@ use vars qw(); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; } =head1 NAME diff --git a/C4/Members/Attributes.pm b/C4/Members/Attributes.pm index 0c9b854941..950059679c 100644 --- a/C4/Members/Attributes.pm +++ b/C4/Members/Attributes.pm @@ -29,7 +29,6 @@ our ($csv, $AttributeTypes); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT_OK = qw(GetBorrowerAttributes GetBorrowerAttributeValue CheckUniqueness SetBorrowerAttributes DeleteBorrowerAttribute UpdateBorrowerAttribute diff --git a/C4/Members/Messaging.pm b/C4/Members/Messaging.pm index 72d942d4f4..3b1c14bec3 100644 --- a/C4/Members/Messaging.pm +++ b/C4/Members/Messaging.pm @@ -25,7 +25,6 @@ use vars qw(); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; } =head1 NAME diff --git a/C4/NewsChannels.pm b/C4/NewsChannels.pm index 0769e50b9b..cbcc702a4c 100644 --- a/C4/NewsChannels.pm +++ b/C4/NewsChannels.pm @@ -25,7 +25,6 @@ use Koha::DateUtils; use vars qw(@ISA @EXPORT); BEGIN { - $VERSION = 3.07.00.049; # set the version for version checking @ISA = qw(Exporter); @EXPORT = qw( &GetNewsToDisplay diff --git a/C4/Output.pm b/C4/Output.pm index b82992b3e7..fe88a1aab3 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -37,7 +37,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); diff --git a/C4/Overdues.pm b/C4/Overdues.pm index 553d70fb78..edc3cbbe5a 100644 --- a/C4/Overdues.pm +++ b/C4/Overdues.pm @@ -41,7 +41,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); diff --git a/C4/Patroncards.pm b/C4/Patroncards.pm index b41986c62e..348a783674 100644 --- a/C4/Patroncards.pm +++ b/C4/Patroncards.pm @@ -1,7 +1,6 @@ package C4::Patroncards; BEGIN { - use version; our $VERSION = qv('3.07.00.049'); use vars qw(@EXPORT @ISA); @ISA = qw(Exporter); our @EXPORT = qw(unpack_UTF8 diff --git a/C4/Patroncards/Batch.pm b/C4/Patroncards/Batch.pm index 11c0661c7d..9583ef8e6a 100644 --- a/C4/Patroncards/Batch.pm +++ b/C4/Patroncards/Batch.pm @@ -8,7 +8,6 @@ use base qw(C4::Creators::Batch); use autouse 'Data::Dumper' => qw(Dumper); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } __PACKAGE__ =~ m/^C4::(.+)::.+$/; diff --git a/C4/Patroncards/Layout.pm b/C4/Patroncards/Layout.pm index ab215ade84..fc8bd97c49 100644 --- a/C4/Patroncards/Layout.pm +++ b/C4/Patroncards/Layout.pm @@ -8,7 +8,6 @@ use base qw(C4::Creators::Layout); use autouse 'Data::Dumper' => qw(Dumper); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } __PACKAGE__ =~ m/^C4::(.+)::.+$/; diff --git a/C4/Patroncards/Lib.pm b/C4/Patroncards/Lib.pm index 46e9f291fe..b961d0dc92 100644 --- a/C4/Patroncards/Lib.pm +++ b/C4/Patroncards/Lib.pm @@ -26,7 +26,6 @@ use C4::Context; use C4::Debug; BEGIN { - use version; our $VERSION = qv('3.07.00.049'); use base qw(Exporter); our @EXPORT = qw(unpack_UTF8 text_alignment diff --git a/C4/Patroncards/Patroncard.pm b/C4/Patroncards/Patroncard.pm index f6a18127c6..e2aa06a8b4 100644 --- a/C4/Patroncards/Patroncard.pm +++ b/C4/Patroncards/Patroncard.pm @@ -29,7 +29,6 @@ use C4::Creators::PDF qw(StrWidth); use C4::Patroncards::Lib qw(unpack_UTF8 text_alignment leading box get_borrower_attributes); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } sub new { diff --git a/C4/Patroncards/Profile.pm b/C4/Patroncards/Profile.pm index 4842b3f3f5..3ecaa1fd15 100644 --- a/C4/Patroncards/Profile.pm +++ b/C4/Patroncards/Profile.pm @@ -8,7 +8,6 @@ use base qw(C4::Creators::Profile); use autouse 'Data::Dumper' => qw(Dumper); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } __PACKAGE__ =~ m/^C4::(.+)::.+$/; diff --git a/C4/Patroncards/Template.pm b/C4/Patroncards/Template.pm index 5cfd7ca981..b8a14eeae0 100644 --- a/C4/Patroncards/Template.pm +++ b/C4/Patroncards/Template.pm @@ -8,7 +8,6 @@ use base qw(C4::Creators::Template); use autouse 'Data::Dumper' => qw(Dumper); BEGIN { - use version; our $VERSION = qv('3.07.00.049'); } use constant TEMPLATE_TABLE => 'creator_templates'; diff --git a/C4/Print.pm b/C4/Print.pm index 35c54307d0..2286e2cd79 100644 --- a/C4/Print.pm +++ b/C4/Print.pm @@ -25,7 +25,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(&NetworkPrint); diff --git a/C4/Ratings.pm b/C4/Ratings.pm index 730b6c4390..7cbc06c8fd 100644 --- a/C4/Ratings.pm +++ b/C4/Ratings.pm @@ -31,7 +31,6 @@ use Koha::Database; use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Record.pm b/C4/Record.pm index 80ab7e0dad..d001945f18 100644 --- a/C4/Record.pm +++ b/C4/Record.pm @@ -42,7 +42,6 @@ use Carp; use vars qw(@ISA @EXPORT); # set the version for version checking -$VERSION = 3.07.00.049; @ISA = qw(Exporter); diff --git a/C4/Reports.pm b/C4/Reports.pm index 08443463dc..83e6f4c076 100644 --- a/C4/Reports.pm +++ b/C4/Reports.pm @@ -27,7 +27,6 @@ use C4::Debug; BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index 5d85adeaca..b27801c82f 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -38,7 +38,6 @@ use Koha::AuthorisedValues; BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 535c37d84d..42a539d912 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -92,7 +92,6 @@ This modules provides somes functions to deal with reservations. BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Review.pm b/C4/Review.pm index 2d2a65873e..71df6604c7 100644 --- a/C4/Review.pm +++ b/C4/Review.pm @@ -26,7 +26,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(getreview savereview updatereview numberofreviews numberofreviewsbybiblionumber diff --git a/C4/Ris.pm b/C4/Ris.pm index e615c965b7..e158cabcf8 100644 --- a/C4/Ris.pm +++ b/C4/Ris.pm @@ -68,7 +68,6 @@ use C4::Biblio qw(GetMarcSubfieldStructureFromKohaField); use Koha::SimpleMARC qw(read_field); # set the version for version checking -$VERSION = 3.07.00.049; @ISA = qw(Exporter); diff --git a/C4/RotatingCollections.pm b/C4/RotatingCollections.pm index 3fc6d66ee1..4f7473bfca 100644 --- a/C4/RotatingCollections.pm +++ b/C4/RotatingCollections.pm @@ -36,7 +36,6 @@ use Data::Dumper; use vars qw(@ISA @EXPORT); # set the version for version checking -$VERSION = 3.07.00.049; =head1 NAME diff --git a/C4/SIP/ILS/Item.pm b/C4/SIP/ILS/Item.pm index 4586feecf2..578f3828a4 100644 --- a/C4/SIP/ILS/Item.pm +++ b/C4/SIP/ILS/Item.pm @@ -23,7 +23,6 @@ use C4::Members; use C4::Reserves; use Koha::Database; -our $VERSION = 3.07.00.049; =encoding UTF-8 diff --git a/C4/SIP/ILS/Patron.pm b/C4/SIP/ILS/Patron.pm index 33653b933e..7d99ad644a 100644 --- a/C4/SIP/ILS/Patron.pm +++ b/C4/SIP/ILS/Patron.pm @@ -24,7 +24,6 @@ use C4::Branch qw(GetBranchName); use C4::Items qw( GetBarcodeFromItemnumber GetItemnumbersForBiblio); use C4::Auth qw(checkpw); -our $VERSION = 3.07.00.049; our $kp; # koha patron diff --git a/C4/SIP/ILS/Transaction/Checkout.pm b/C4/SIP/ILS/Transaction/Checkout.pm index 0ac0bfca74..14a2b66c68 100644 --- a/C4/SIP/ILS/Transaction/Checkout.pm +++ b/C4/SIP/ILS/Transaction/Checkout.pm @@ -25,7 +25,6 @@ use parent qw(C4::SIP::ILS::Transaction); our $debug; -our $VERSION = 3.07.00.049; # Most fields are handled by the Transaction superclass my %fields = ( diff --git a/C4/SIP/ILS/Transaction/FeePayment.pm b/C4/SIP/ILS/Transaction/FeePayment.pm index 47f6ba9fbc..4d0e381c04 100644 --- a/C4/SIP/ILS/Transaction/FeePayment.pm +++ b/C4/SIP/ILS/Transaction/FeePayment.pm @@ -25,7 +25,6 @@ use parent qw(C4::SIP::ILS::Transaction); our $debug = 0; -our $VERSION = 3.07.00.049; my %fields = (); diff --git a/C4/SIP/ILS/Transaction/Hold.pm b/C4/SIP/ILS/Transaction/Hold.pm index fa2e5ba437..da3ad83da3 100644 --- a/C4/SIP/ILS/Transaction/Hold.pm +++ b/C4/SIP/ILS/Transaction/Hold.pm @@ -14,7 +14,6 @@ use C4::Biblio; # GetBiblioFromItemNumber GetBiblioItemByBiblioNumber use parent qw(C4::SIP::ILS::Transaction); -our $VERSION = 3.07.00.049; my %fields = ( expiration_date => 0, diff --git a/C4/SIP/Sip.pm b/C4/SIP/Sip.pm index b6e9e45656..a6cf97f3ba 100644 --- a/C4/SIP/Sip.pm +++ b/C4/SIP/Sip.pm @@ -19,7 +19,6 @@ use C4::SIP::Sip::Checksum qw(checksum); use vars qw(@ISA @EXPORT_OK %EXPORT_TAGS); BEGIN { - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT_OK = qw(y_or_n timestamp add_field maybe_add add_count diff --git a/C4/SIP/Sip/MsgType.pm b/C4/SIP/Sip/MsgType.pm index 5c3c721c6f..14d64d7a83 100644 --- a/C4/SIP/Sip/MsgType.pm +++ b/C4/SIP/Sip/MsgType.pm @@ -27,7 +27,6 @@ use constant INVALID_CARD => 'Invalid cardnumber'; use constant INVALID_PW => 'Invalid password'; BEGIN { - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT_OK = qw(handle login_core); } diff --git a/C4/SMS.pm b/C4/SMS.pm index e946b45b08..684b2d676d 100644 --- a/C4/SMS.pm +++ b/C4/SMS.pm @@ -40,7 +40,6 @@ use C4::Context; use vars qw( ); BEGIN { - $VERSION = 3.07.00.049; } =head1 METHODS diff --git a/C4/Scheduler.pm b/C4/Scheduler.pm index 82bfe24fef..24f46febf6 100644 --- a/C4/Scheduler.pm +++ b/C4/Scheduler.pm @@ -26,7 +26,6 @@ use Schedule::At; BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = diff --git a/C4/Scrubber.pm b/C4/Scrubber.pm index 6e58af5f20..8c9a1ccd7c 100644 --- a/C4/Scrubber.pm +++ b/C4/Scrubber.pm @@ -27,7 +27,6 @@ use HTML::Scrubber; use C4::Context; use C4::Debug; -our $VERSION = v3.07.00.049; my %scrubbertypes = ( diff --git a/C4/Search.pm b/C4/Search.pm index a6305def00..fc4ac2da34 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -41,7 +41,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $DEBUG); # set the version for version checking BEGIN { - $VERSION = 3.07.00.049; $DEBUG = ($ENV{DEBUG}) ? 1 : 0; } diff --git a/C4/Serials.pm b/C4/Serials.pm index 08b47efa3d..eca9b13db3 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -61,7 +61,6 @@ use constant MISSING_STATUSES => ( ); BEGIN { - $VERSION = 3.07.00.049; # set version for version checking require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Serials/Frequency.pm b/C4/Serials/Frequency.pm index f4dafb1760..58ae709555 100644 --- a/C4/Serials/Frequency.pm +++ b/C4/Serials/Frequency.pm @@ -26,7 +26,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.01; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Serials/Numberpattern.pm b/C4/Serials/Numberpattern.pm index 1395d5a6a4..97ed4593e5 100644 --- a/C4/Serials/Numberpattern.pm +++ b/C4/Serials/Numberpattern.pm @@ -27,7 +27,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.01; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/ShelfBrowser.pm b/C4/ShelfBrowser.pm index f91369b9f6..8e8e05ba56 100644 --- a/C4/ShelfBrowser.pm +++ b/C4/ShelfBrowser.pm @@ -30,7 +30,6 @@ use C4::Koha; use vars qw(@ISA @EXPORT @EXPORT_OK); BEGIN { - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @EXPORT = qw( diff --git a/C4/Stats.pm b/C4/Stats.pm index 567e293f13..2250007e81 100644 --- a/C4/Stats.pm +++ b/C4/Stats.pm @@ -30,7 +30,6 @@ our $debug; BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT = qw( &UpdateStats diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm index 30746b7e45..63e10ed2fa 100644 --- a/C4/Suggestions.pm +++ b/C4/Suggestions.pm @@ -32,7 +32,6 @@ use Koha::DateUtils; use List::MoreUtils qw(any); use base qw(Exporter); -our $VERSION = 3.07.00.049; our @EXPORT = qw( ConnectSuggestionAndBiblio CountSuggestion diff --git a/C4/Tags.pm b/C4/Tags.pm index d7d2ee1064..09afd78383 100644 --- a/C4/Tags.pm +++ b/C4/Tags.pm @@ -33,7 +33,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); our $ext_dict; BEGIN { - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT_OK = qw( &get_tag &get_tags &get_tag_rows diff --git a/C4/TmplToken.pm b/C4/TmplToken.pm index 9bd959d821..045269b80b 100644 --- a/C4/TmplToken.pm +++ b/C4/TmplToken.pm @@ -32,7 +32,6 @@ This is a class representing a token scanned from an HTML::Template .tmpl file. =cut -our $VERSION = 3.07.00.049; sub new { diff --git a/C4/TmplTokenType.pm b/C4/TmplTokenType.pm index 7e6b4bdf1d..b2ebac8529 100644 --- a/C4/TmplTokenType.pm +++ b/C4/TmplTokenType.pm @@ -38,7 +38,6 @@ The predefined constants are ############################################################################### -$VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT_OK = qw( diff --git a/C4/Utils/DataTables.pm b/C4/Utils/DataTables.pm index 0235ab5a50..e6fc1ccbcf 100644 --- a/C4/Utils/DataTables.pm +++ b/C4/Utils/DataTables.pm @@ -23,7 +23,6 @@ require Exporter; use vars qw(@ISA @EXPORT); BEGIN { - $VERSION = 3.07.00.049, @ISA = qw(Exporter); @EXPORT = qw(dt_build_orderby dt_build_having dt_get_params dt_build_query); diff --git a/C4/XISBN.pm b/C4/XISBN.pm index 5b5711d4bd..df313563ee 100644 --- a/C4/XISBN.pm +++ b/C4/XISBN.pm @@ -32,7 +32,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { require Exporter; - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT_OK = qw( &get_xisbns diff --git a/C4/XSLT.pm b/C4/XSLT.pm index a5e023917c..dd13c501bc 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -45,7 +45,6 @@ my %authval_per_framework; BEGIN { require Exporter; - $VERSION = 3.07.00.049; @ISA = qw(Exporter); @EXPORT = qw( &XSLTParse4Display diff --git a/Koha/AuthUtils.pm b/Koha/AuthUtils.pm index b748c1becc..0bec1ba1ea 100644 --- a/Koha/AuthUtils.pm +++ b/Koha/AuthUtils.pm @@ -24,7 +24,6 @@ use Fcntl qw/O_RDONLY/; # O_RDONLY is used in generate_salt use base 'Exporter'; -our $VERSION = '1.01'; our @EXPORT_OK = qw(hash_password); =head1 NAME diff --git a/Koha/Filter/MARC/EmbedSeeFromHeadings.pm b/Koha/Filter/MARC/EmbedSeeFromHeadings.pm index 1a4a14331d..631a9d9095 100644 --- a/Koha/Filter/MARC/EmbedSeeFromHeadings.pm +++ b/Koha/Filter/MARC/EmbedSeeFromHeadings.pm @@ -38,7 +38,6 @@ use C4::Biblio qw/GetMarcFromKohaField/; use base qw(Koha::RecordProcessor::Base); our $NAME = 'EmbedSeeFromHeadings'; -our $VERSION = '1.0'; =head2 filter diff --git a/Koha/Filter/MARC/Null.pm b/Koha/Filter/MARC/Null.pm index 47332a37dd..476630ccef 100644 --- a/Koha/Filter/MARC/Null.pm +++ b/Koha/Filter/MARC/Null.pm @@ -37,7 +37,6 @@ use Carp; use base qw(Koha::RecordProcessor::Base); our $NAME = 'Null'; -our $VERSION = '1.0'; =head2 filter diff --git a/Koha/Misc/Files.pm b/Koha/Misc/Files.pm index d1eb249ee5..adc087d278 100644 --- a/Koha/Misc/Files.pm +++ b/Koha/Misc/Files.pm @@ -21,7 +21,6 @@ package Koha::Misc::Files; use Modern::Perl; use vars qw(); -$VERSION = '0.25'; use C4::Context; use C4::Output; diff --git a/Koha/Patron/Files.pm b/Koha/Patron/Files.pm index ac76decfa5..1d52665f1c 100644 --- a/Koha/Patron/Files.pm +++ b/Koha/Patron/Files.pm @@ -28,7 +28,6 @@ use C4::Debug; BEGIN { # set the version for version checking - $VERSION = 0.01; } =head1 NAME diff --git a/Koha/Patron/Password/Recovery.pm b/Koha/Patron/Password/Recovery.pm index f80fd2c3dd..185b8d030d 100644 --- a/Koha/Patron/Password/Recovery.pm +++ b/Koha/Patron/Password/Recovery.pm @@ -25,7 +25,6 @@ use vars qw(@ISA @EXPORT); BEGIN { # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); push @EXPORT, qw( diff --git a/Koha/RecordProcessor/Base.pm b/Koha/RecordProcessor/Base.pm index 84a28faa06..26edd8226f 100644 --- a/Koha/RecordProcessor/Base.pm +++ b/Koha/RecordProcessor/Base.pm @@ -66,7 +66,6 @@ use base qw(Class::Accessor); __PACKAGE__->mk_ro_accessors(qw( name version )); __PACKAGE__->mk_accessors(qw( params )); our $NAME = 'Base'; -our $VERSION = '1.0'; =head2 new diff --git a/Koha/SimpleMARC.pm b/Koha/SimpleMARC.pm index 04ff8f9a86..aaab6b647e 100644 --- a/Koha/SimpleMARC.pm +++ b/Koha/SimpleMARC.pm @@ -26,7 +26,6 @@ our @EXPORT = qw( field_equals ); -our $VERSION = '0.01'; our $debug = 0; diff --git a/Koha/Template/Plugin/Cache.pm b/Koha/Template/Plugin/Cache.pm index c91aa175b3..e7d26300aa 100644 --- a/Koha/Template/Plugin/Cache.pm +++ b/Koha/Template/Plugin/Cache.pm @@ -23,7 +23,6 @@ use vars qw( ); use base qw( Template::Plugin ); use Template::Plugin; use C4::Context; -$VERSION = '0.01'; #------------------------------------------------------------------------ # new(\%options) diff --git a/acqui/pdfformat/layout2pages.pm b/acqui/pdfformat/layout2pages.pm index e4f2b4fdf0..2fc78ee0fd 100644 --- a/acqui/pdfformat/layout2pages.pm +++ b/acqui/pdfformat/layout2pages.pm @@ -36,7 +36,6 @@ BEGIN { use Exporter (); our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS); # set the version for version checking - $VERSION = 1.00; @ISA = qw(Exporter); @EXPORT = qw(printpdf); } diff --git a/acqui/pdfformat/layout2pagesde.pm b/acqui/pdfformat/layout2pagesde.pm index 75beb89211..c0c228fea4 100644 --- a/acqui/pdfformat/layout2pagesde.pm +++ b/acqui/pdfformat/layout2pagesde.pm @@ -36,7 +36,6 @@ BEGIN { use Exporter (); our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS); # set the version for version checking - $VERSION = 1.00; @ISA = qw(Exporter); @EXPORT = qw(printpdf); } diff --git a/acqui/pdfformat/layout3pages.pm b/acqui/pdfformat/layout3pages.pm index a35af190fb..f0c6627d96 100644 --- a/acqui/pdfformat/layout3pages.pm +++ b/acqui/pdfformat/layout3pages.pm @@ -39,7 +39,6 @@ BEGIN { use Exporter (); our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS); # set the version for version checking - $VERSION = 1.00; @ISA = qw(Exporter); @EXPORT = qw(printpdf); } diff --git a/acqui/pdfformat/layout3pagesfr.pm b/acqui/pdfformat/layout3pagesfr.pm index 0c0b93cc1c..157236a8ee 100644 --- a/acqui/pdfformat/layout3pagesfr.pm +++ b/acqui/pdfformat/layout3pagesfr.pm @@ -38,7 +38,6 @@ BEGIN { use Exporter (); our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS); # set the version for version checking - $VERSION = 1.00; @ISA = qw(Exporter); @EXPORT = qw(printpdf); } diff --git a/install_misc/UpgradeBackup.pm b/install_misc/UpgradeBackup.pm index e38ca7e33f..ad79883048 100644 --- a/install_misc/UpgradeBackup.pm +++ b/install_misc/UpgradeBackup.pm @@ -30,7 +30,6 @@ use vars qw(@ISA @EXPORT ); @ISA = ('Exporter'); @EXPORT = ('backup_changed_files'); -$VERSION = '3.00'; =head1 NAME diff --git a/misc/translator/TmplTokenizer.pm b/misc/translator/TmplTokenizer.pm index d47dd518c0..98ec61a866 100644 --- a/misc/translator/TmplTokenizer.pm +++ b/misc/translator/TmplTokenizer.pm @@ -24,7 +24,6 @@ A wrapper for the functionality found in TTParser to allow an easier transition ############################################################################### -$VERSION = 0.02; @ISA = qw(Exporter); @EXPORT_OK = qw(); diff --git a/misc/translator/VerboseWarnings.pm b/misc/translator/VerboseWarnings.pm index 19abc27965..8fac8ba680 100644 --- a/misc/translator/VerboseWarnings.pm +++ b/misc/translator/VerboseWarnings.pm @@ -21,7 +21,6 @@ verbose warnings. ############################################################################### -$VERSION = 0.01; @ISA = qw(Exporter); @EXPORT_OK = qw( diff --git a/t/Koha/Plugin/Test.pm b/t/Koha/Plugin/Test.pm index 6a8ca7862f..8befe606f6 100644 --- a/t/Koha/Plugin/Test.pm +++ b/t/Koha/Plugin/Test.pm @@ -6,7 +6,6 @@ use Modern::Perl; ## Required for all plugins use base qw(Koha::Plugins::Base); -our $VERSION = 1.01; our $metadata = { name => 'Test Plugin', author => 'Kyle M Hall', -- 2.39.5