bug 2615: remove unneeded 'require Exporter'
Most Perl scripts (as opposed to modules) do not need to require Exporter. No user-visible or documentation changes. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
e6daded166
commit
4bf76c2d77
1
about.pl
1
about.pl
|
|
@ -16,7 +16,6 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use C4::Output; # contains gettemplate
|
||||
use C4::Auth;
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ can be equal to
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Auth; # get_template_and_user
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Output;
|
||||
use C4::Auth;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Auth;
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ parameters tables.
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use C4::AuthoritiesMarc;
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ parameters tables.
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use C4::AuthoritiesMarc;
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ parameters tables.
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use C4::AuthoritiesMarc;
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ This script needs a biblionumber as parameter
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ the items attached to the biblio
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/perl
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use XML::LibXSLT;
|
||||
use XML::LibXML;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Auth;
|
||||
use C4::Dates qw/format_date/;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use C4::Context;
|
||||
use CGI;
|
||||
use C4::Auth;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
use HTML::Template::Pro;
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use C4::Record;
|
||||
use C4::Auth;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Auth;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Auth;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
require Exporter;
|
||||
|
||||
use C4::Context;
|
||||
|
||||
my $DEBUG = 0;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
require Exporter;
|
||||
|
||||
|
||||
=head1
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
require Exporter;
|
||||
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
require Exporter;
|
||||
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
require Exporter;
|
||||
|
||||
use C4::AuthoritiesMarc;
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
require Exporter;
|
||||
|
||||
use C4::AuthoritiesMarc;
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
require Exporter;
|
||||
|
||||
use C4::AuthoritiesMarc;
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Output;
|
||||
use C4::Context;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
#
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ BEGIN {
|
|||
use FindBin;
|
||||
eval { require "$FindBin::Bin/kohalib.pl" };
|
||||
}
|
||||
require Exporter;
|
||||
|
||||
use C4::Context;
|
||||
use C4::Output; # contains gettemplate
|
||||
use C4::Biblio;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
use CGI;
|
||||
use C4::Auth;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ the items attached to the biblio
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ the items attached to the biblio
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Auth;
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ parameters tables.
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
use C4::AuthoritiesMarc;
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
use CGI;
|
||||
use C4::Koha;
|
||||
use C4::Biblio;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ TODO :: Description here
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
use C4::Auth;
|
||||
use C4::Context;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Auth;
|
||||
use C4::Branch;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
use C4::Context;
|
||||
use CGI;
|
||||
use C4::Biblio;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
use HTML::Template::Pro;
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use C4::Record;
|
||||
use C4::Auth;
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
use CGI;
|
||||
use C4::Auth; # get_template_and_user
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
|
||||
use C4::Auth; # checkauth, getborrowernumber.
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
|
||||
use C4::Auth;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
|
||||
use C4::Auth; # checkauth, getborrowernumber.
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
|
||||
use C4::Auth;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use Mail::Sendmail;
|
||||
use MIME::QuotedPrint;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Auth;
|
||||
use C4::Koha;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Auth; # get_template_and_user
|
||||
use C4::Output;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
|
||||
use C4::Auth;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use Mail::Sendmail;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
# issue items to that borrower.
|
||||
#
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
|
||||
#use C4::Authsco;
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ to multipage gestion.
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Koha;
|
||||
use C4::Auth;
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ Id of the subscription this script has to renew
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
use C4::Koha;
|
||||
use C4::Auth;
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ op can be :
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use CGI;
|
||||
|
||||
use C4::Auth; # get_template_and_user
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
use strict;
|
||||
require Exporter;
|
||||
|
||||
use C4::Auth;
|
||||
use C4::Output; # contains gettemplate
|
||||
use C4::Biblio; # GetMarcBiblio GetXmlBiblio
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
# Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
require Exporter;
|
||||
|
||||
|
||||
use strict;
|
||||
use C4::Context;
|
||||
|
|
|
|||
Loading…
Reference in New Issue