Bug 8890: Koha::Borrower::Files shouldn't use db in BEGIN
This patch removes the usage of the database in Koha::Borrower::Files' BEGIN block. It also removes the export-related declarations, since they were unused, and unnecessary in a module called in an object-oriented fashion. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
7ee042f125
commit
bd4303b4d5
1 changed files with 1 additions and 8 deletions
|
@ -19,7 +19,7 @@ package Koha::Borrower::Files;
|
|||
|
||||
use Modern::Perl;
|
||||
|
||||
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
|
||||
use vars qw($VERSION);
|
||||
|
||||
use C4::Context;
|
||||
use C4::Output;
|
||||
|
@ -30,13 +30,6 @@ BEGIN {
|
|||
|
||||
# set the version for version checking
|
||||
$VERSION = 0.01;
|
||||
require Exporter;
|
||||
@ISA = qw(Exporter);
|
||||
@EXPORT = qw(
|
||||
|
||||
);
|
||||
|
||||
my $debug = C4::Context->preference("DebugLevel");
|
||||
}
|
||||
|
||||
=head1 NAME
|
||||
|
|
Loading…
Reference in a new issue