Move Amazon.pm to External/ directory

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Joshua Ferraro 2009-02-06 12:52:08 -06:00 committed by Galen Charlton
parent 49769420d3
commit 69c74c06ae
6 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -9,6 +9,6 @@ use warnings;
use Test::More tests => 1;
BEGIN {
use_ok('C4::Amazon');
use_ok('C4::External::Amazon');
}