Browse Source

Bug 16011: $VERSION - Remove comments

perl -p -i -e 's/^.*set the version for version checking.*\n//' **/*.pm

+ manual adjustements

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
new_12478_elasticsearch
Jonathan Druart 6 years ago
committed by Brendan A Gallagher
parent
commit
798d38e4c7
  1. 1
      C4/Accounts.pm
  2. 1
      C4/Acquisition.pm
  3. 1
      C4/AuthoritiesMarc.pm
  4. 1
      C4/BackgroundJob.pm
  5. 1
      C4/Bookseller.pm
  6. 1
      C4/Branch.pm
  7. 1
      C4/Breeding.pm
  8. 1
      C4/Budgets.pm
  9. 1
      C4/Charset.pm
  10. 1
      C4/ClassSortRoutine.pm
  11. 1
      C4/ClassSortRoutine/Dewey.pm
  12. 1
      C4/ClassSortRoutine/Generic.pm
  13. 1
      C4/ClassSortRoutine/LCC.pm
  14. 1
      C4/ClassSource.pm
  15. 1
      C4/Contract.pm
  16. 1
      C4/Csv.pm
  17. 1
      C4/Images.pm
  18. 1
      C4/ImportBatch.pm
  19. 1
      C4/InstallAuth.pm
  20. 1
      C4/Letters.pm
  21. 1
      C4/Log.pm
  22. 1
      C4/Matcher.pm
  23. 2
      C4/Members.pm
  24. 1
      C4/Members/AttributeTypes.pm
  25. 1
      C4/Members/Attributes.pm
  26. 1
      C4/Members/Messaging.pm
  27. 1
      C4/Output.pm
  28. 1
      C4/Overdues.pm
  29. 1
      C4/Print.pm
  30. 1
      C4/Record.pm
  31. 1
      C4/Reports.pm
  32. 1
      C4/Reports/Guided.pm
  33. 1
      C4/Reserves.pm
  34. 1
      C4/Review.pm
  35. 1
      C4/Ris.pm
  36. 1
      C4/RotatingCollections.pm
  37. 1
      C4/Scheduler.pm
  38. 1
      C4/Search.pm
  39. 1
      C4/Serials/Frequency.pm
  40. 1
      C4/Serials/Numberpattern.pm
  41. 1
      C4/Stats.pm
  42. 4
      Koha/Calendar.pm
  43. 1
      Koha/DateUtils.pm
  44. 1
      Koha/NorwegianPatronDB.pm
  45. 1
      Koha/Patron/Files.pm
  46. 1
      Koha/Patron/Password/Recovery.pm
  47. 3
      acqui/pdfformat/layout2pages.pm
  48. 3
      acqui/pdfformat/layout2pagesde.pm
  49. 3
      acqui/pdfformat/layout3pages.pm
  50. 3
      acqui/pdfformat/layout3pagesfr.pm
  51. 3
      installer/data/mysql/backfill_statistics.pl
  52. 3
      misc/cronjobs/MARC21_parse_test.pl
  53. 3
      misc/cronjobs/runreport.pl
  54. 3
      misc/maintenance/MARC21_utf8_flag_fix.pl

1
C4/Accounts.pm

@ -31,7 +31,6 @@ use Data::Dumper qw(Dumper);
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/Acquisition.pm

@ -44,7 +44,6 @@ use HTML::Entities;
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/AuthoritiesMarc.pm

@ -33,7 +33,6 @@ use Koha::Authority::Types;
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);

1
C4/BackgroundJob.pm

@ -27,7 +27,6 @@ use Digest::MD5;
use vars qw();
BEGIN {
# set the version for version checking
}
=head1 NAME

1
C4/Bookseller.pm

@ -25,7 +25,6 @@ use base qw( Exporter );
use C4::Bookseller::Contact;
# set the version for version checking
our @EXPORT_OK = qw(
GetBooksellersWithLateOrders
ModBookseller

1
C4/Branch.pm

@ -25,7 +25,6 @@ use Koha::LibraryCategories;
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
BEGIN {
# set the version for version checking
@ISA = qw(Exporter);
@EXPORT = qw(
&GetBranchName

1
C4/Breeding.pm

@ -34,7 +34,6 @@ use Koha::XSLT_Handler;
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(&BreedingSearch &Z3950Search &Z3950SearchAuth);

1
C4/Budgets.pm

@ -25,7 +25,6 @@ use C4::Debug;
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/Charset.pm

@ -29,7 +29,6 @@ use Encode qw( decode encode is_utf8 );
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/ClassSortRoutine.pm

@ -26,7 +26,6 @@ use C4::Context;
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
# set the version for version checking
=head1 NAME

1
C4/ClassSortRoutine/Dewey.pm

@ -22,7 +22,6 @@ use warnings;
use vars qw();
# set the version for version checking
=head1 NAME

1
C4/ClassSortRoutine/Generic.pm

@ -22,7 +22,6 @@ use warnings;
use vars qw();
# set the version for version checking
=head1 NAME

1
C4/ClassSortRoutine/LCC.pm

@ -24,7 +24,6 @@ use Library::CallNumber::LC;
use vars qw();
# set the version for version checking
=head1 NAME

1
C4/ClassSource.pm

@ -26,7 +26,6 @@ use C4::ClassSortRoutine;
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
# set the version for version checking
=head1 NAME

1
C4/Contract.pm

@ -26,7 +26,6 @@ use Koha::Database;
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/Csv.pm

@ -25,7 +25,6 @@ package C4::Csv;
use C4::Context;
use vars qw(@ISA @EXPORT);
# set the version for version checking
@ISA = qw(Exporter);

1
C4/Images.pm

@ -29,7 +29,6 @@ use vars qw($debug $noimage @ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/ImportBatch.pm

@ -33,7 +33,6 @@ use Koha::Logger;
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/InstallAuth.pm

@ -30,7 +30,6 @@ use CGI::Session;
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
# set the version for version checking
=head1 NAME

1
C4/Letters.pm

@ -43,7 +43,6 @@ use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
BEGIN {
require Exporter;
# set the version for version checking
@ISA = qw(Exporter);
@EXPORT = qw(
&GetLetters &GetLettersAvailableForALibrary &GetLetterTemplates &DelLetter &GetPreparedLetter &GetWrappedLetter &addalert &getalert &delalert &findrelatedto &SendAlerts &GetPrintMessages &GetMessageTransportTypes

1
C4/Log.pm

@ -30,7 +30,6 @@ use Koha::DateUtils;
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(&logaction &cronlogaction &GetLogStatus &displaylog &GetLogs);

1
C4/Matcher.pm

@ -26,7 +26,6 @@ use MARC::Record;
use vars qw();
BEGIN {
# set the version for version checking
}
=head1 NAME

2
C4/Members.pm

@ -41,7 +41,7 @@ use Text::Unaccent qw( unac_string );
use Koha::AuthUtils qw(hash_password);
use Koha::Database;
our ($VERSION,@ISA,@EXPORT,@EXPORT_OK,$debug);
our (@ISA,@EXPORT,@EXPORT_OK,$debug);
use Module::Load::Conditional qw( can_load );
if ( ! can_load( modules => { 'Koha::NorwegianPatronDB' => undef } ) ) {

1
C4/Members/AttributeTypes.pm

@ -24,7 +24,6 @@ use C4::Context;
use vars qw();
BEGIN {
# set the version for version checking
}
=head1 NAME

1
C4/Members/Attributes.pm

@ -28,7 +28,6 @@ use vars qw(@ISA @EXPORT_OK @EXPORT %EXPORT_TAGS);
our ($csv, $AttributeTypes);
BEGIN {
# set the version for version checking
@ISA = qw(Exporter);
@EXPORT_OK = qw(GetBorrowerAttributes GetBorrowerAttributeValue CheckUniqueness SetBorrowerAttributes
DeleteBorrowerAttribute UpdateBorrowerAttribute

1
C4/Members/Messaging.pm

@ -24,7 +24,6 @@ use C4::Context;
use vars qw();
BEGIN {
# set the version for version checking
}
=head1 NAME

1
C4/Output.pm

@ -36,7 +36,6 @@ use C4::Templates;
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);

1
C4/Overdues.pm

@ -40,7 +40,6 @@ use Koha::Account::Lines;
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);

1
C4/Print.pm

@ -24,7 +24,6 @@ use C4::Context;
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(&NetworkPrint);

1
C4/Record.pm

@ -41,7 +41,6 @@ use Carp;
use vars qw(@ISA @EXPORT);
# set the version for version checking
@ISA = qw(Exporter);

1
C4/Reports.pm

@ -26,7 +26,6 @@ use C4::Context;
use C4::Debug;
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/Reports/Guided.pm

@ -37,7 +37,6 @@ use C4::Log;
use Koha::AuthorisedValues;
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/Reserves.pm

@ -91,7 +91,6 @@ This modules provides somes functions to deal with reservations.
=cut
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/Review.pm

@ -25,7 +25,6 @@ use C4::Context;
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(getreview savereview updatereview numberofreviews numberofreviewsbybiblionumber

1
C4/Ris.pm

@ -67,7 +67,6 @@ use vars qw(@ISA @EXPORT);
use C4::Biblio qw(GetMarcSubfieldStructureFromKohaField);
use Koha::SimpleMARC qw(read_field);
# set the version for version checking
@ISA = qw(Exporter);

1
C4/RotatingCollections.pm

@ -35,7 +35,6 @@ use Data::Dumper;
use vars qw(@ISA @EXPORT);
# set the version for version checking
=head1 NAME

1
C4/Scheduler.pm

@ -25,7 +25,6 @@ use C4::Context;
use Schedule::At;
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT =

1
C4/Search.pm

@ -39,7 +39,6 @@ use MARC::Record;
use MARC::Field;
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $DEBUG);
# set the version for version checking
BEGIN {
$DEBUG = ($ENV{DEBUG}) ? 1 : 0;
}

1
C4/Serials/Frequency.pm

@ -25,7 +25,6 @@ use C4::Context;
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/Serials/Numberpattern.pm

@ -26,7 +26,6 @@ use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(

1
C4/Stats.pm

@ -29,7 +29,6 @@ use vars qw(@ISA @EXPORT);
our $debug;
BEGIN {
# set the version for version checking
@ISA = qw(Exporter);
@EXPORT = qw(
&UpdateStats

4
Koha/Calendar.pm

@ -381,10 +381,6 @@ __END__
Koha::Calendar - Object containing a branches calendar
=head1 VERSION
This documentation refers to Koha::Calendar version 0.0.1
=head1 SYNOPSIS
use Koha::Calendar

1
Koha/DateUtils.pm

@ -22,7 +22,6 @@ use C4::Context;
use Carp;
use base 'Exporter';
use version; our $VERSION = qv('1.0.0');
our @EXPORT = (
qw( dt_from_string output_pref format_sqldatetime )

1
Koha/NorwegianPatronDB.pm

@ -61,7 +61,6 @@ use Convert::BaseN;
use DateTime;
use base 'Exporter';
use version; our $VERSION = qv('1.0.0');
our %EXPORT_TAGS = ( all => [qw(
NLCheckSysprefs

1
Koha/Patron/Files.pm

@ -27,7 +27,6 @@ use C4::Debug;
BEGIN {
# set the version for version checking
}
=head1 NAME

1
Koha/Patron/Password/Recovery.pm

@ -24,7 +24,6 @@ use Crypt::Eksblowfish::Bcrypt qw(en_base64);
use vars qw(@ISA @EXPORT);
BEGIN {
# set the version for version checking
require Exporter;
@ISA = qw(Exporter);
push @EXPORT, qw(

3
acqui/pdfformat/layout2pages.pm

@ -34,8 +34,7 @@ use Koha::Libraries;
BEGIN {
use Exporter ();
our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
# set the version for version checking
our (@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
@ISA = qw(Exporter);
@EXPORT = qw(printpdf);
}

3
acqui/pdfformat/layout2pagesde.pm

@ -34,8 +34,7 @@ use Koha::Libraries;
BEGIN {
use Exporter ();
our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
# set the version for version checking
our (@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
@ISA = qw(Exporter);
@EXPORT = qw(printpdf);
}

3
acqui/pdfformat/layout3pages.pm

@ -37,8 +37,7 @@ use Koha::Libraries;
BEGIN {
use Exporter ();
our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
# set the version for version checking
our (@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
@ISA = qw(Exporter);
@EXPORT = qw(printpdf);
}

3
acqui/pdfformat/layout3pagesfr.pm

@ -36,8 +36,7 @@ use Koha::Libraries;
BEGIN {
use Exporter ();
our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
# set the version for version checking
our (@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
@ISA = qw(Exporter);
@EXPORT = qw(printpdf);
}

3
installer/data/mysql/backfill_statistics.pl

@ -16,9 +16,8 @@ use C4::Items;
use C4::Debug;
use Data::Dumper;
use vars qw($debug $dbh $VERSION);
use vars qw($debug $dbh);
$dbh = C4::Context->dbh;
$VERSION = "1.00";
sub get_counts() {
my $query = q(

3
misc/cronjobs/MARC21_parse_test.pl

@ -34,14 +34,11 @@ use C4::Charset;
use C4::Context;
use C4::Debug;
use vars qw($VERSION);
BEGIN {
# find Koha's Perl modules
# test carefully before changing this
use FindBin;
eval { require "$FindBin::Bin/../kohalib.pl" };
$VERSION = 0.03;
}
our $debug;

3
misc/cronjobs/runreport.pl

@ -35,14 +35,11 @@ use CGI qw ( -utf8 );
use Carp;
use Encode;
use vars qw($VERSION);
BEGIN {
# find Koha's Perl modules
# test carefully before changing this
use FindBin;
eval { require "$FindBin::Bin/../kohalib.pl" };
$VERSION = 0.22;
}
=head1 NAME

3
misc/maintenance/MARC21_utf8_flag_fix.pl

@ -30,14 +30,11 @@ use C4::Charset;
use C4::Context;
use C4::Debug;
use vars qw($VERSION);
BEGIN {
# find Koha's Perl modules
# test carefully before changing this
use FindBin;
eval { require "$FindBin::Bin/../kohalib.pl" };
$VERSION = 0.02;
}
our $debug;

Loading…
Cancel
Save