Move Amazon.pm to External/ directory
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
49769420d3
commit
69c74c06ae
|
|
@ -1,4 +1,4 @@
|
|||
package C4::Amazon;
|
||||
package C4::External::Amazon;
|
||||
# Copyright (C) 2006 LibLime
|
||||
# <jmf at liblime dot com>
|
||||
#
|
||||
|
|
@ -39,7 +39,7 @@ BEGIN {
|
|||
|
||||
=head1 NAME
|
||||
|
||||
C4::Amazon - Functions for retrieving Amazon.com content in Koha
|
||||
C4::External::Amazon - Functions for retrieving Amazon.com content in Koha
|
||||
|
||||
=head1 FUNCTIONS
|
||||
|
||||
|
|
@ -130,7 +130,7 @@ Such response will trigger a warning for each request (potentially many). Point
|
|||
|
||||
=head1 SEE ALSO
|
||||
|
||||
C4::Amazon
|
||||
C4::External::Amazon
|
||||
LWP::UserAgent
|
||||
|
||||
=head1 AUTHOR
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ use C4::Reserves;
|
|||
use C4::Members;
|
||||
use C4::Serials;
|
||||
use C4::XISBN qw(get_xisbns get_biblionumber_from_isbn get_biblio_from_xisbn);
|
||||
use C4::Amazon;
|
||||
use C4::External::Amazon;
|
||||
|
||||
# use Smart::Comments;
|
||||
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ $template->param(
|
|||
## Amazon.com stuff
|
||||
#not used unless preference set
|
||||
if ( C4::Context->preference("AmazonContent") == 1 ) {
|
||||
use C4::Amazon;
|
||||
use C4::External::Amazon;
|
||||
$dat->{'amazonisbn'} = $dat->{'isbn'};
|
||||
$dat->{'amazonisbn'} =~ s|-||g;
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ use C4::Circulation;
|
|||
use C4::Tags qw(get_tags);
|
||||
use C4::Dates qw/format_date/;
|
||||
use C4::XISBN qw(get_xisbns get_biblionumber_from_isbn get_biblio_from_xisbn);
|
||||
use C4::Amazon;
|
||||
use C4::External::Amazon;
|
||||
use C4::Review;
|
||||
use C4::Serials;
|
||||
use C4::Members;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@ use warnings;
|
|||
use Test::More tests => 1;
|
||||
|
||||
BEGIN {
|
||||
use_ok('C4::Amazon');
|
||||
use_ok('C4::External::Amazon');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue